summaryrefslogtreecommitdiffstats
path: root/Lib/_weakrefset.py
Commit message (Collapse)AuthorAgeFilesLines
* Issue #20006: Fix sporadic failures in test_weakset.Antoine Pitrou2013-12-171-0/+2
|
* Issue #14195: Make WeakSet.__lt__ and WeakSet.__gt__ irreflexive.Meador Inge2012-03-051-6/+6
|
* Fix some set algebra methods of WeakSet objects.Antoine Pitrou2012-03-041-29/+12
|
* Port 2.7 fix for sporadic failure in test_weakset.Antoine Pitrou2012-03-041-5/+2
|
* Issue #14159: Fix the len() of weak containers (WeakSet, WeakKeyDictionary, ↵Antoine Pitrou2012-03-011-1/+1
| | | | | | | WeakValueDictionary) to return a better approximation when some objects are dead or dying. Moreover, the implementation is now O(1) rather than O(n). Thanks to Yury Selivanov for reporting.
* #10360: catch TypeError in WeakSet.__contains__, just like WeakKeyDictionary ↵Georg Brandl2010-12-031-1/+5
| | | | does.
* Issue #7105: Make WeakKeyDictionary and WeakValueDictionary robust againstAntoine Pitrou2010-01-081-5/+69
| | | | the destruction of weakref'ed objects while iterating.
* Issue 5964: Fixed WeakSet __eq__ comparison to handle non-WeakSet objects.Robert Schuppenies2009-05-171-0/+2
|
* Add a test suite for WeakSet mostly derived from test_set and fix someGeorg Brandl2008-05-181-12/+42
| | | | issues in the weakset implementation discovered with it.
* Fix two issues in the weak set implementation.Georg Brandl2008-05-181-2/+5
|
* Moved WeakSet into a bootstap module use by abc.py.Raymond Hettinger2008-02-051-0/+111
This makes it possible to use ABCs in weakref.py (which will be done in a later checkin).