• Guido van Rossum's avatar
    PyClass_New(): put the extended Don Beaudry hook back in. When one of · 28d80b10
    Guido van Rossum yazdı
    the base classes is not a classic class, and its class (the metaclass)
    is callable, call the metaclass to do the deed.
    
    One effect of this is that, when mixing classic and new-style classes
    amongst the bases of a class, it doesn't matter whether the first base
    class is a classic class or not: you will always get the error
    "TypeError: metatype conflict among bases".  (Formerly, with a classic
    class first, you'd get "TypeError: PyClass_New: base must be a class".)
    
    Another effect is that multiple inheritance from ExtensionClass.Base,
    with a classic class as the first class, transfers control to the
    ExtensionClass.Base class.  This is what we need for SF #443239 (and
    also for running Zope under 2.2a4, before ExtensionClass is replaced).
    28d80b10
Adı
Son kayıt (commit)
Son güncelleme
..
.cvsignore Loading commit data...
abstract.c Loading commit data...
bufferobject.c Loading commit data...
cellobject.c Loading commit data...
classobject.c Loading commit data...
cobject.c Loading commit data...
complexobject.c Loading commit data...
descrobject.c Loading commit data...
dictobject.c Loading commit data...
fileobject.c Loading commit data...
floatobject.c Loading commit data...
frameobject.c Loading commit data...
funcobject.c Loading commit data...
intobject.c Loading commit data...
iterobject.c Loading commit data...
listobject.c Loading commit data...
longobject.c Loading commit data...
methodobject.c Loading commit data...
moduleobject.c Loading commit data...
object.c Loading commit data...
obmalloc.c Loading commit data...
rangeobject.c Loading commit data...
sliceobject.c Loading commit data...
stringobject.c Loading commit data...
tupleobject.c Loading commit data...
typeobject.c Loading commit data...
unicodectype.c Loading commit data...
unicodeobject.c Loading commit data...
unicodetype_db.h Loading commit data...
xxobject.c Loading commit data...