mirror of
https://github.com/python/cpython.git
synced 2025-10-17 12:18:23 +00:00
GH-127705: Add debug mode for _PyStackRef
s inspired by HPy debug mode (GH-128121)
This commit is contained in:
parent
78ffba4221
commit
128cc47fbd
12 changed files with 395 additions and 33 deletions
|
@ -0,0 +1,4 @@
|
|||
Adds stackref debugging when ``Py_STACKREF_DEBUG`` is set. Finds all
|
||||
double-closes and leaks, logging the origin and last borrow.
|
||||
|
||||
Inspired by HPy's debug mode. https://docs.hpyproject.org/en/latest/debug-mode.html
|
Loading…
Add table
Add a link
Reference in a new issue