commit | 6b70599450777a8b911f0eff44b18cd22f1c1e1e | [log] [tgz] |
---|---|---|
author | Guido van Rossum <guido@python.org> | Tue Dec 04 16:23:42 2001 +0000 |
committer | Guido van Rossum <guido@python.org> | Tue Dec 04 16:23:42 2001 +0000 |
tree | 10bb79dc54602e3226dd68774994e15a6d1af2b9 | |
parent | ebca9fc1ba23e58d734b9ab422da6a64fa4d72e2 [diff] |
Fix SF bug #486144: Uninitialized __slot__ vrbl is None. 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.