diff Python/thread_pthread.h @ 21187:ef6f692c76e2 legacy-trunk

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.
author Guido van Rossum <guido@python.org>
date Tue, 04 Dec 2001 16:23:42 +0000
parents 7a991d012cd6
children 884e57bf3ada
line wrap: on
line diff