[issue22079] Ensure in PyType_Ready() that base class of static type is static

Petr Viktorin report at bugs.python.org
Mon Jan 24 07:23:03 EST 2022


Petr Viktorin <encukou at gmail.com> added the comment:

> Is there a reason to not add these fields to PyTypeObject?


Can't say I haven't thought of that, but AFAIK it would mean breaking the C API substantially. Even if not it'd be a PEP-sized change, IMO.

----------
nosy: +petr.viktorin

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


More information about the Python-bugs-list mailing list