[issue31095] Checking all tp_dealloc with Py_TPFLAGS_HAVE_GC
Alexander Mohr
report at bugs.python.org
Tue Aug 1 04:36:35 EDT 2017
Alexander Mohr added the comment:
actually another idea: could the PR for this also update https://docs.python.org/2/c-api/typeobj.html#c.PyTypeObject.tp_dealloc to mention about these macros and when they should be used? That, along with all the other locations correctly calling these macros, and having comments when they're not needed hopefully should prevent this from happening again.
----------
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue31095>
_______________________________________
More information about the Python-bugs-list
mailing list