[issue43916] Check that new heap types cannot be created uninitialised

Serhiy Storchaka report at bugs.python.org
Tue Apr 27 04:36:52 EDT 2021


Serhiy Storchaka <storchaka+cpython at gmail.com> added the comment:

Alternatively we can make PyType_FromSpec() setting tp_new to NULL if there is explicit {Py_tp_new, NULL} in slots.

----------

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


More information about the Python-bugs-list mailing list