• Guido van Rossum's avatar
    Fix SF bug #486144: Uninitialized __slot__ vrbl is None. · 6b705994
    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.
    6b705994
structmember.h 2.49 KB