summaryrefslogtreecommitdiff
path: root/Lib/weakref.py
AgeCommit message (Expand)AuthorLines
2017-09-26bpo-30152: Reduce the number of imports for argparse. (#1269)Serhiy Storchaka-3/+3
2017-04-24bpo-30144: Import collections ABC from collections.abc rather than collection...Serhiy Storchaka-3/+3
2017-02-10Fix #29519: weakref spewing exceptions during interp finalizationŁukasz Langa-2/+2
2016-12-27Issue #28427: old keys should not remove new values fromAntoine Pitrou-4/+30
2016-12-19Issue #19542: Fix bugs in WeakValueDictionary.setdefault() and WeakValueDicti...Antoine Pitrou-5/+8
2015-09-29Issue #22958: Constructor and update method of weakref.WeakValueDictionarySerhiy Storchaka-2/+15
2015-09-29Issue #22958: Constructor and update method of weakref.WeakValueDictionarySerhiy Storchaka-2/+15
2014-10-05Closes #21173: Fix len() on a WeakKeyDictionary when .clear() was called with...Antoine Pitrou-0/+13
2014-10-05Closes #21173: Fix len() on a WeakKeyDictionary when .clear() was called with...Antoine Pitrou-0/+13
2014-07-25Issue #22033: Reprs of most Python implemened classes now contain actualSerhiy Storchaka-2/+2
2014-07-22Issue #22031: Reprs now always use hexadecimal format with the "0x" prefixSerhiy Storchaka-2/+2
2013-06-08Issue #15528: Delay importing atexit until weakref.finalize() used.Richard Oudkerk-3/+7
2013-05-05Issue #15528: Add weakref.finalize to support finalization usingRichard Oudkerk-1/+136
2013-05-05Backout 2e446e87ac5b; it breaks the unix buildbots.Richard Oudkerk-136/+1
2013-05-05Issue #15528: Add weakref.finalize to support finalization usingRichard Oudkerk-1/+136
2012-11-17Issue #14631: Add a new :class:`weakref.WeakMethod` to simulate weak referenc...Antoine Pitrou-1/+55
2012-10-01utilize yield fromPhilip Jenvey-2/+1
2012-03-01Issue #14159: Fix the len() of weak containers (WeakSet, WeakKeyDictionary, W...Antoine Pitrou-2/+2
2010-12-03Use booleans.Georg Brandl-3/+3
2010-01-08Issue #7105: Make WeakKeyDictionary and WeakValueDictionary robust againstAntoine Pitrou-49/+85
2009-05-30Issue #6149: Fix initialization of WeakValueDictionary objects from non-empty...Antoine Pitrou-1/+1
2009-05-15Merged revisions 72669 via svnmerge fromAntoine Pitrou-0/+22
2009-03-25Fix a circular import dependency.Brett Cannon-2/+2
2008-09-04Committing the patch in issue 2965, so that weakref dicts have a closerBarry Warsaw-30/+6
2008-08-18ReferenceError is undefined. causes test___all__.py to fail. remove it from...Gregory P. Smith-1/+1
2008-08-18Merged revisions 65795 via svnmerge fromBrett Cannon-1/+1
2008-05-04Merged revisions 62425-62429,62434-62436,62441,62444,62446-62448,62450-62455,...Christian Heimes-1/+1
2008-02-11No need to register classes that already inherit from ABCs.Raymond Hettinger-3/+0
2008-02-05Decouple weakref containers from UserDictRaymond Hettinger-4/+17
2008-02-05Moved WeakSet into a bootstap module use by abc.py.Raymond Hettinger-106/+3
2007-10-23#1061 (mainly by Thomas Wouters): use weak sets for abc caches.Georg Brandl-0/+105
2007-08-30Raise statement normalization in Lib/.Collin Winter-2/+2
2007-06-13Merged revisions 55817-55961 via svnmerge fromGuido van Rossum-1/+1
2007-02-26Remove the exceptions builtin module, all the exceptions are already builtin.Neal Norwitz-2/+0
2007-02-11Nailed test_weakref.py. Pfew, messy!Guido van Rossum-4/+4
2007-02-11- PEP 3106: dict.iterkeys(), .iteritems(), .itervalues() are now gone;Guido van Rossum-10/+10
2006-08-18Get rid of dict.has_key(). Boy this has a lot of repercussions!Guido van Rossum-14/+0
2006-05-27Much-needed merge (using svnmerge.py this time) of trunk changes into p3yk.Thomas Wouters-0/+48
2005-06-04Bug #1196315: fix weakref.WeakValueDictionary constructor.Georg Brandl-1/+1
2004-08-31Use multi-line importAndrew M. Kuchling-8/+8
2004-08-19SF bug #1012315: weakref.WeakValueDictionary should override .has_key()Raymond Hettinger-31/+36
2004-08-13Convert weak iterators to generator form.Raymond Hettinger-48/+20
2004-07-02Make weak references subclassable:Fred Drake-16/+34
2004-05-27The default argument in dict.setdefault() defaults to None.Walter Dörwald-2/+2
2004-03-04SF #904720: dict.update should take a 2-tuple sequence like dict.__init_Raymond Hettinger-6/+16
2003-05-25SF 742860: WeakKeyDictionary __delitem__ uses iterkeysTim Peters-5/+1
2003-03-09SF patch #667730: More DictMixinRaymond Hettinger-0/+15
2002-07-16Whitespace normalization.Tim Peters-1/+1
2002-06-10SF patch 564549 (Erik Andersén).Guido van Rossum-1/+1
2002-06-01SF 563203. Replaced 'has_key()' with 'in'.Raymond Hettinger-1/+8