[issue5996] abstract class instantiable when subclassing dict
Eugene Toder
report at bugs.python.org
Mon Jul 11 14:35:44 CEST 2011
Eugene Toder <eltoder at gmail.com> added the comment:
They are, when there's a most specific metaclass -- the one which is a subclass of all others (described here http://www.python.org/download/releases/2.2.3/descrintro/#metaclasses, implemented here http://hg.python.org/cpython/file/ab162f925761/Objects/typeobject.c#l1956). Since ABCMeta is a subclass of type this holds.
Also, in the original example there's no multiple inheritance at all.
----------
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue5996>
_______________________________________
More information about the Python-bugs-list
mailing list