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

Pablo Galindo Salgado report at bugs.python.org
Mon Apr 26 09:36:35 EDT 2021


Pablo Galindo Salgado <pablogsal at gmail.com> added the comment:

> Is there any way we can fix this in Objects/typeobject.c, or do we actually have to patch every single type manually?

That would be probably a bad idea since typeobject.c is supposed to be generic. We would be inverting the responsibility concerns to the base.

----------

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


More information about the Python-bugs-list mailing list