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

Serhiy Storchaka report at bugs.python.org
Sun Jun 26 11:02:27 EDT 2016


Serhiy Storchaka added the comment:

This is interesting question. It looks that base classes (as well as mro classes) may not go through PyType_Ready. There is no even a check that mro() returns only ancestor classes and contains the initial class itself.

----------

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


More information about the Python-bugs-list mailing list