diff Python/codecs.c @ 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 25ddd3dc7a7a
children 898304f6da23 416654e27d88
line wrap: on
line diff