summaryrefslogtreecommitdiff
path: root/Python/exceptions.c
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>2001-12-04 17:13:22 +0000
committerGuido van Rossum <guido@python.org>2001-12-04 17:13:22 +0000
commit64b206c19e764d12f61681359544938c45912262 (patch)
tree2165d27367e6cde216f1929d0ab97680f07a3550 /Python/exceptions.c
parentbb7775a6aebb00d85a2ecd7c2d907c8abbf98446 (diff)
downloadcpython-git-64b206c19e764d12f61681359544938c45912262.tar.gz
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.
Diffstat (limited to 'Python/exceptions.c')
0 files changed, 0 insertions, 0 deletions