[issue44562] types.GenericAlias should decref instead of using delete in tp_new

STINNER Victor report at bugs.python.org
Mon Jul 5 04:52:50 EDT 2021


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

> Revert "bpo-44562: Remove invalid PyObject_GC_Del from error path of types.GenericAlias … (GH-27016) (GH-27018)" (GH-27022)

That's a good idea :-)

The reverted commit caused many segfaults on macOS:
https://buildbot.python.org/all/#/builders/108/builds/122

4 tests failed:
    test_cmd_line_script test_multiprocessing_main_handling
    test_tarfile test_trace

----------
nosy: +vstinner

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


More information about the Python-bugs-list mailing list