[issue13575] old style classes still alive

Philip Jenvey report at bugs.python.org
Fri Dec 16 01:01:54 CET 2011


Philip Jenvey <pjenvey at underboss.org> added the comment:

Is mro_internal's second call to type_mro_modified still needed? Its comment makes me suspect that it's not:

    type_mro_modified(type, type->tp_mro);
    /* corner case: the old-style super class might have been hidden
       from the custom MRO */
    type_mro_modified(type, type->tp_bases);

----------
nosy: +pjenvey

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


More information about the Python-bugs-list mailing list