[issue46857] Python leaks one reference at exit on Windows

Jeremy Kloth report at bugs.python.org
Fri Feb 25 22:33:09 EST 2022


Jeremy Kloth <jeremy.kloth at gmail.com> added the comment:

> ./configure --enabled-shared --with-py-debug --with-trace-refs

(that's what I get for typing from memory):
./configure --enable-shared --with-pydebug --with-trace-refs

> > I proposed GH-31594 to fix this macro.
>
> Even using that change, I still have negative refs (but I still have
> Py_TRACE_REFS defined)

I initially missed the _PySet_Dummy change, with that total refs (w/o
dump_refs) is now 0.

----------

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue46857>
_______________________________________


More information about the Python-bugs-list mailing list