[issue3453] PyType_Ready doesn't ensure that all bases are ready

Alexander Belopolsky report at bugs.python.org
Fri Jun 11 01:38:48 CEST 2010


Alexander Belopolsky <belopolsky at users.sourceforge.net> added the comment:

My knowledge may be out of date, but I thought multiple inheritance was only supported at the python level.  If this is still the case, then no initialization check is needed. (You cannot get an uninitialized type at python level.)  An extra defensive assert is usually not a bad thing in the code, but in this particular case one would need a loop with checks and it does not seem justified.

-1

----------
nosy: +belopolsky
stage:  -> needs patch
type:  -> feature request
versions: +Python 3.2 -Python 2.4, Python 2.5, Python 2.6

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


More information about the Python-bugs-list mailing list