Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | convert usage of fail* to assert* | Benjamin Peterson | 2009-06-30 | 1 | -29/+29 |
| | |||||
* | Issue #4688: Add a heuristic so that tuples and dicts containing only | Antoine Pitrou | 2009-03-23 | 1 | -0/+98 |
| | | | | | | | | | untrackable objects are not tracked by the garbage collector. This can reduce the size of collections and therefore the garbage collection overhead on long-running programs, depending on their particular use of datatypes. (trivia: this makes the "binary_trees" benchmark from the Computer Language Shootout 40% faster) | ||||
* | fill in actual issue number in tests | Antoine Pitrou | 2009-01-01 | 1 | -1/+1 |
| | |||||
* | Issue #3680: Reference cycles created through a dict, set or deque iterator ↵ | Antoine Pitrou | 2009-01-01 | 1 | -0/+14 |
| | | | | did not get collected. | ||||
* | - Issue #3537: Fix an assertion failure when an empty but presized dict | Georg Brandl | 2008-08-11 | 1 | -0/+11 |
| | | | | object was stored in the freelist. | ||||
* | Speed up test_dict by about 10x by only checking selected dict literal sizes, | Jeffrey Yasskin | 2008-03-18 | 1 | -4/+6 |
| | | | | | instead of every integer from 0 to 400. Exhaustive testing wastes time without providing enough more assurance that the code is correct. | ||||
* | Patch #2167 from calvin: Remove unused imports | Christian Heimes | 2008-02-23 | 1 | -1/+1 |
| | |||||
* | Changes 54857 and 54840 broke code and were reverted in Py2.5 just before | Raymond Hettinger | 2008-01-25 | 1 | -8/+0 |
| | | | | it was released, but that reversion never made it to the Py2.6 head. | ||||
* | Beef-up tests for dict literals | Raymond Hettinger | 2007-12-19 | 1 | -1/+10 |
| | |||||
* | Backport of _abccoll.py by Benjamin Arangueren, issue 1383. | Guido van Rossum | 2007-11-22 | 1 | -0/+4 |
| | | | | With some changes of my own thrown in (e.g. backport of r58107). | ||||
* | Optimize dict.fromkeys() with dict inputs. Useful for resetting bag/muliset ↵ | Raymond Hettinger | 2007-11-07 | 1 | -0/+4 |
| | | | | counts for example. | ||||
* | Whitespace normalization. | Tim Peters | 2007-03-12 | 1 | -5/+5 |
| | |||||
* | Patch #1678088: convert test_operations to use unittest, fold the result ↵ | Collin Winter | 2007-03-12 | 1 | -0/+71 |
| | | | | into test_dict. | ||||
* | Fix a bug in test_dict and test_userdict, found at the PyPy sprint. | Georg Brandl | 2007-03-04 | 1 | -3/+3 |
| | |||||
* | SF #1615701: make d.update(m) honor __getitem__() and keys() in dict subclasses | Raymond Hettinger | 2007-02-07 | 1 | -0/+8 |
| | |||||
* | Bug #1576657: when setting a KeyError for a tuple key, make sure that | Georg Brandl | 2006-10-29 | 1 | -0/+10 |
| | | | | the tuple isn't used as the "exception arguments tuple". | ||||
* | Use absolute imports | Neal Norwitz | 2006-04-03 | 1 | -1/+1 |
| | |||||
* | - Patch 1433928: | Guido van Rossum | 2006-02-25 | 1 | -0/+50 |
| | | | | | | | | - The copy module now "copies" function objects (as atomic objects). - dict.__getitem__ now looks for a __missing__ hook before raising KeyError. - Added a new type, defaultdict, to the collections module. This uses the new __missing__ hook behavior added to dict (see above). | ||||
* | Expand scope to include general mapping protocol tests. | Raymond Hettinger | 2004-09-30 | 1 | -0/+13 |
| | | | | | | Many of these tests are redundant, but this will ensure that the mapping protocols all stay in sync. Also, added a test for dictionary subclasses. | ||||
* | Add missing test_dict.py from patch #736962. | Walter Dörwald | 2004-09-30 | 1 | -0/+404 |