summaryrefslogtreecommitdiffstats
path: root/Include
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>2001-08-17 20:32:36 (GMT)
committerGuido van Rossum <guido@python.org>2001-08-17 20:32:36 (GMT)
commit9676b22cd70ba83b8f03c5d2191892236d9dbd0d (patch)
treedb65cc51c7685ef3cdcb74f97f2d52366bc29588 /Include
parentdbfe5e85076aaced56313fbc61642426619e4913 (diff)
downloadcpython-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