48 Commits (bbe2f60b3c19ecaa02ca07be14474eaacfcb59a0)

Author SHA1 Message Date
Antoine Pitrou bbe2f60b3c Issue #14159: Fix the len() of weak containers (WeakSet, WeakKeyDictionary, WeakValueDictionary) to return a better approximation when some objects are dead or dying. 14 years ago
Georg Brandl bd87d0862b Use booleans. 15 years ago
Antoine Pitrou 1a2d3563f9 (note: svnmerged from py3k, but the original message was wrong) 16 years ago
Antoine Pitrou c1baa601e2 Issue #7105: Make WeakKeyDictionary and WeakValueDictionary robust against 16 years ago
Antoine Pitrou c06de477a3 Issue #6149: Fix initialization of WeakValueDictionary objects from non-empty parameters. 17 years ago
Antoine Pitrou 6e61006cc2 Merged revisions 72669 via svnmerge from 17 years ago
Brett Cannon 663fffa4e2 Fix a circular import dependency. 17 years ago
Barry Warsaw ecaab837b6 Committing the patch in issue 2965, so that weakref dicts have a closer 18 years ago
Gregory P. Smith 7d10c2baf9 ReferenceError is undefined. causes test___all__.py to fail. remove it from __all__ 18 years ago
Brett Cannon e8d0bf9160 Merged revisions 65795 via svnmerge from 18 years ago
Christian Heimes 81ee3efede Merged revisions 62425-62429,62434-62436,62441,62444,62446-62448,62450-62455,62463,62465-62466,62469,62474,62476-62478,62480,62485,62492,62497-62498,62500,62507,62513-62514,62516,62521,62531,62535,62545-62546,62548-62551,62553-62559,62569,62574,62577,62593,62595,62604-62606,62608,62616,62626-62627,62636,62638,62644-62645,62647-62648,62651-62653,62656,62661,62663,62680,62686-62687,62696,62699-62703,62711 via svnmerge from 18 years ago
Raymond Hettinger 1021cc692d No need to register classes that already inherit from ABCs. 18 years ago
Raymond Hettinger 7ac609559d Decouple weakref containers from UserDict 18 years ago
Raymond Hettinger 93fa608626 Moved WeakSet into a bootstap module use by abc.py. 18 years ago
Georg Brandl 3b8cb17695 #1061 (mainly by Thomas Wouters): use weak sets for abc caches. 18 years ago
Collin Winter ce36ad8a46 Raise statement normalization in Lib/. 19 years ago
Guido van Rossum cd16bf6404 Merged revisions 55817-55961 via svnmerge from 19 years ago
Neal Norwitz 2633c69fae Remove the exceptions builtin module, all the exceptions are already builtin. 19 years ago
Guido van Rossum 07f2436fa8 Nailed test_weakref.py. Pfew, messy! 19 years ago
Guido van Rossum cc2b016125 - PEP 3106: dict.iterkeys(), .iteritems(), .itervalues() are now gone; 19 years ago
Guido van Rossum e2b70bcf74 Get rid of dict.has_key(). Boy this has a lot of repercussions! 20 years ago
Thomas Wouters 477c8d5e70 Much-needed merge (using svnmerge.py this time) of trunk changes into p3yk. 20 years ago
Georg Brandl 9166e1a24a Bug #1196315: fix weakref.WeakValueDictionary constructor. 21 years ago
Andrew M. Kuchling 33ad28b68d Use multi-line import 22 years ago
Raymond Hettinger 6114679099 SF bug #1012315: weakref.WeakValueDictionary should override .has_key() 22 years ago
Raymond Hettinger cc0def1868 Convert weak iterators to generator form. 22 years ago
Fred Drake 0a4dd390bf Make weak references subclassable: 22 years ago
Walter Dörwald 80ce6dd564 The default argument in dict.setdefault() defaults to None. 22 years ago
Raymond Hettinger 31017aed36 SF #904720: dict.update should take a 2-tuple sequence like dict.__init_ 22 years ago
Tim Peters 886128f4f8 SF 742860: WeakKeyDictionary __delitem__ uses iterkeys 23 years ago
Raymond Hettinger 2c2d322884 SF patch #667730: More DictMixin 23 years ago
Tim Peters c411dbaeee Whitespace normalization. 24 years ago
Guido van Rossum 009afb7c90 SF patch 564549 (Erik Andersén). 24 years ago
Raymond Hettinger 54f0222547 SF 563203. Replaced 'has_key()' with 'in'. 24 years ago
Fred Drake 3bae7ddf8e WeakKeyDictionary.has_key(): If the key being tested is not weakly 24 years ago
Fred Drake e029242d5c ReferenceError is now built-in, so pick it up from the right place. 25 years ago
Fred Drake 746fe0fae5 Clean up circular references in the Weak*Dictionary classes; this avoids 25 years ago
Fred Drake b663a2ccbd Add __delitem__() support for WeakKeyDictionary. 25 years ago
Fred Drake 4fd06e0170 Make sure that WeakValueDictionary[] raises KeyError instead of TypeError 25 years ago
Fred Drake 101209d44c Added iterator support to the Weak*Dictionary classes. 25 years ago
Fred Drake bd7f818c50 Weak*Dictionary: Added docstrings to the classes. 25 years ago
Fred Drake 1d9e4b7de3 Weak*Dictionary.update(): Fix calls to [].append() to only have one 25 years ago
Fred Drake 9a9d219f07 mapping(): Remove this function since it does not add anything to the API. 25 years ago
Skip Montanaro 40fc16059f final round of __all__ lists (I hope) - skipped urllib2 because Moshe may be 25 years ago
Fred Drake 9d2c85dec7 Change WeakDictionary to WeakValueDictionary in a couple more places. 25 years ago
Martin v. Löwis 5e1633365d Patch #403985: Add support for weak-keyed dictionaries 25 years ago
Fred Drake 0399bd8ce2 Ouch! I need a better test suite for this. ;-( 25 years ago
Fred Drake 312a5dc539 WeakDictionary.items(): Do not allow (key,ref) pairs to leak out for 25 years ago
Fred Drake 41deb1efc2 PEP 205, Weak References -- initial checkin. 25 years ago