diff options
author | Guido van Rossum <guido@python.org> | 2001-08-17 20:32:36 (GMT) |
---|---|---|
committer | Guido van Rossum <guido@python.org> | 2001-08-17 20:32:36 (GMT) |
commit | 9676b22cd70ba83b8f03c5d2191892236d9dbd0d (patch) | |
tree | db65cc51c7685ef3cdcb74f97f2d52366bc29588 /Include | |
parent | dbfe5e85076aaced56313fbc61642426619e4913 (diff) | |
download | cpython-9676b22cd70ba83b8f03c5d2191892236d9dbd0d.zip cpython-9676b22cd70ba83b8f03c5d2191892236d9dbd0d.tar.gz cpython-9676b22cd70ba83b8f03c5d2191892236d9dbd0d.tar.bz2 |
Weak reference support, closing SF bug #451773.
Classes that don't use __slots__ have a __weakref__ member added in
the same way as __dict__ is added (i.e. only if the base didn't
already have one). Classes using __slots__ can enable weak
referenceability by adding '__weakref__' to the __slots__ list.
Renamed the __weaklistoffset__ class member to __weakrefoffset__ --
it's not always a list, it seems. (Is tp_weaklistoffset a historical
misnomer, or do I misunderstand this?)
Diffstat (limited to 'Include')
0 files changed, 0 insertions, 0 deletions