Mercurial > cpython-lru_cache-weakref
comparison Python/errors.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 | abaf9ea2e560 |
| children | d4406fbfcb4e |
comparison
equal
deleted
inserted
replaced
| 21186:0189186f4ed9 | 21187:ef6f692c76e2 |
|---|
