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

STINNER Victor report at bugs.python.org
Fri Dec 25 19:42:13 EST 2020


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

> These changes introduced a regression in test_curses (see issue42694). And I afraid then introduced regressions in other modules for which there were not purposed tests.

In my experience, when a type is modified to prevent creating an instance using type(), there is a test for that. The issue with bpo-42694 is that test_curses is skipped by default, and it might be skipped on buildbots which don't have curses.

(I wrote a fix for bpo-42694, but let's discuss it there.)

----------

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


More information about the Python-bugs-list mailing list