[New-bugs-announce] [issue3453] PyType_Ready doesn't ensure that all bases are ready

Roger Upole report at bugs.python.org
Sun Jul 27 17:14:05 CEST 2008


New submission from Roger Upole <rupole at hotmail.com>:

If a type's tp_base has not been initialized yet, PyType_Ready calls 
itself for tp_base.  However, it doesn't do the same for members of 
tp_bases.  The inheritance determinations assume that all bases are 
ready, in particular that tp_mro is not null.

----------
components: Interpreter Core
messages: 70322
nosy: rupole
severity: normal
status: open
title: PyType_Ready doesn't ensure that all bases are ready
versions: 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 New-bugs-announce mailing list