[issue1635741] Py_Finalize() doesn't clear all Python objects at exit

hai shi report at bugs.python.org
Wed Feb 5 08:15:21 EST 2020


hai shi <shihai1991 at 126.com> added the comment:

i thinkt that not checking `PyModule_AddObject()`'s result may cause this probleam too.

1) python-ast.c have one question, i fix it in PR18358.
2) most of the questions in extension module, for example: https://github.com/python/cpython/blob/master/Modules/gcmodule.c#L2019-L2022

----------

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


More information about the Python-bugs-list mailing list