Skip to content

Instantly share code, notes, and snippets.

View messense's full-sized avatar
🐢
I may be slow to respond on workdays.

messense messense

🐢
I may be slow to respond on workdays.
View GitHub Profile
{
"packages": [
{
"name": "ahash",
"version": "0.7.6",
"id": "ahash 0.7.6 (registry+https://github.com/rust-lang/crates.io-index)",
"license": "MIT OR Apache-2.0",
"license_file": null,
"description": "A non-cryptographic hash function using AES-NI for high performance",
"source": "registry+https://github.com/rust-lang/crates.io-index",
@messense
messense / pytest.gdb
Last active July 9, 2022 06:10
pydantic-core pypy lldb
(lldb) target create "/Users/messense/.pyenv/versions/test-pypy/bin/python"
Current executable set to '/Users/messense/.pyenv/versions/test-pypy/bin/python' (x86_64).
(lldb) settings set -- target.run-args "-m" "pytest"
(lldb) r
Process 98393 launched: '/Users/messense/.pyenv/versions/test-pypy/bin/python' (x86_64)
Test session starts (platform: darwin, Python 3.9.12, pytest 7.1.2, pytest-sugar 0.9.4)
benchmark: 3.4.1 (defaults: timer=time.perf_counter disable_gc=False min_rounds=5 min_time=0.000005 max_time=1.0 calibration_precision=10 warmup=True warmup_iterations=100000)
rootdir: /Users/messense/Projects/pydantic-core, configfile: pyproject.toml, testpaths: tests
plugins: benchmark-3.4.1, hypothesis-6.48.1, timeout-2.1.0, mock-3.8.1, sugar-0.9.4
timeout: 30.0s
(.venv) root@ubuntu:~/code/self-limiters# gdb -c core.0.1716127.1665563188 python3
GNU gdb (Ubuntu 12.0.90-0ubuntu1) 12.0.90
Copyright (C) 2022 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
Type "show copying" and "show warranty" for details.
This GDB was configured as "x86_64-linux-gnu".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
(.venv) root@ubuntu:~/code/self-limiters# gdb -c core.0.1736127.1665587962 python3
GNU gdb (Ubuntu 12.0.90-0ubuntu1) 12.0.90
Copyright (C) 2022 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
Type "show copying" and "show warranty" for details.
This GDB was configured as "x86_64-linux-gnu".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
@messense
messense / nox.diff
Last active January 12, 2023 03:04
pyo3 set minimal versions
commit 928e9be0cd2cddb52042c0ec9d88329779b0edf7
Author: messense <[email protected]>
Date: Thu Jan 12 10:14:23 2023 +0800
Set minimal package versions by parsing Cargo.lock
diff --git a/noxfile.py b/noxfile.py
index d04824c26..1b39047bf 100644
--- a/noxfile.py
+++ b/noxfile.py