[issue22079] Ensure in PyType_Ready() that base class of static type is static
Xiang Zhang
report at bugs.python.org
Sun Jun 26 22:21:28 EDT 2016
Xiang Zhang added the comment:
Oh yes. The mro list can be customized so we can not even guarantee the type appears at index 0 and object at index n-1. It seems we should still keep what it is now, iterating the whole mro list.
Sorry that my previous comments seem to be noise. But maybe we can add one comment to clarify that iterating the whole list is needed.
----------
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue22079>
_______________________________________
More information about the Python-bugs-list
mailing list