Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | bpo-36949: Implement __repr__ on WeakSet (GH-13415) | Batuhan Taşkaya | 2019-05-20 | 1 | -0/+3 |
| | |||||
* | bpo-30296 Remove unnecessary tuples, lists, sets, and dicts (#1489) | Jon Dufresne | 2017-05-18 | 1 | -3/+3 |
| | | | | | | | | * Replaced list(<generator expression>) with list comprehension * Replaced dict(<generator expression>) with dict comprehension * Replaced set(<list literal>) with set literal * Replaced builtin func(<list comprehension>) with func(<generator expression>) when supported (e.g. any(), all(), tuple(), min(), & max()) | ||||
* | bpo-29762: More use "raise from None". (#569) | Serhiy Storchaka | 2017-04-05 | 1 | -1/+1 |
| | | | This hides unwanted implementation details from tracebacks. | ||||
* | Issue #20006: Fix sporadic failures in test_weakset. | Antoine Pitrou | 2013-12-17 | 1 | -0/+2 |
| | |||||
* | Issue #14195: Make WeakSet.__lt__ and WeakSet.__gt__ irreflexive. | Meador Inge | 2012-03-05 | 1 | -6/+6 |
| | |||||
* | Fix some set algebra methods of WeakSet objects. | Antoine Pitrou | 2012-03-04 | 1 | -29/+12 |
| | |||||
* | Port 2.7 fix for sporadic failure in test_weakset. | Antoine Pitrou | 2012-03-04 | 1 | -5/+2 |
| | |||||
* | Issue #14159: Fix the len() of weak containers (WeakSet, WeakKeyDictionary, ↵ | Antoine Pitrou | 2012-03-01 | 1 | -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 Brandl | 2010-12-03 | 1 | -1/+5 |
| | | | | does. | ||||
* | Issue #7105: Make WeakKeyDictionary and WeakValueDictionary robust against | Antoine Pitrou | 2010-01-08 | 1 | -5/+69 |
| | | | | the destruction of weakref'ed objects while iterating. | ||||
* | Issue 5964: Fixed WeakSet __eq__ comparison to handle non-WeakSet objects. | Robert Schuppenies | 2009-05-17 | 1 | -0/+2 |
| | |||||
* | Add a test suite for WeakSet mostly derived from test_set and fix some | Georg Brandl | 2008-05-18 | 1 | -12/+42 |
| | | | | issues in the weakset implementation discovered with it. | ||||
* | Fix two issues in the weak set implementation. | Georg Brandl | 2008-05-18 | 1 | -2/+5 |
| | |||||
* | Moved WeakSet into a bootstap module use by abc.py. | Raymond Hettinger | 2008-02-05 | 1 | -0/+111 |
This makes it possible to use ABCs in weakref.py (which will be done in a later checkin). |