[issue36880] Returning None from a callback with restype py_object decrements None's refcount too much

anthony shaw report at bugs.python.org
Sat May 11 17:02:28 EDT 2019


anthony shaw <anthonyshaw at apache.org> added the comment:

Thanks Eryk that saved a lot of debugging. 

dgelessus - if you want to write a patch for CPython am happy to take you through this and get it over the line. 

Else: am Happy to write a test against the gc counter and a patch for this

----------

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


More information about the Python-bugs-list mailing list