• Guido van Rossum's avatar
    Fix SF bug #486144: Uninitialized __slot__ vrbl is None. · 64b206c1
    Guido van Rossum yazdı
    There's now a new structmember code, T_OBJECT_EX, which is used for
    all __slot__ variables (except __weakref__, which has special behavior
    anyway).  This new code raises AttributeError when the variable is
    NULL rather than converting NULL to None.
    64b206c1
typeobject.c 101 KB