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

STINNER Victor report at bugs.python.org
Wed Mar 25 08:54:50 EDT 2020


STINNER Victor <vstinner at python.org> added the comment:

> Thanks for the clarifications. I will keep looking for simple modules, no state and easy to migrate but also dedicate more time to work on the more complex like datetime. I'm working on PR19122 corrections.

I like changes which convert C extension modules to multiphase initialization API since they fix the error path: they implicitly ensures that the module is properly destroyed if something goes wrong.

Moreover, it will ease the work to fix the other issues that I listed.

----------

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


More information about the Python-bugs-list mailing list