summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_collections.py
Commit message (Collapse)AuthorAgeFilesLines
* Issue 23704: Add index(), copy(), and insert() to deques. Register deques ↵Raymond Hettinger2015-03-211-1/+2
| | | | as a MutableSequence.
* Issue #22777: Test pickling with all protocols.Serhiy Storchaka2014-12-151-45/+36
|\
| * Issue #22777: Test pickling with all protocols.Serhiy Storchaka2014-12-151-45/+36
| |
* | Issue #22609: Revert changes in UserDict. They conflicted with existing tests.Serhiy Storchaka2014-11-271-20/+1
|\ \ | |/
| * Issue #22609: Revert changes in UserDict. They conflicted with existing tests.Serhiy Storchaka2014-11-271-20/+1
| |
* | Issue #22609: Constructors and update methods of mapping classes in theSerhiy Storchaka2014-11-271-3/+61
|\ \ | |/ | | | | collections module now accept the self keyword argument.
| * Issue #22609: Constructors and update methods of mapping classes in theSerhiy Storchaka2014-11-271-3/+61
| | | | | | | | collections module now accept the self keyword argument.
* | PEP 479: Use the return-keyword instead of raising StopIteration inside a ↵Raymond Hettinger2014-11-231-1/+1
| | | | | | | | generators.
* | mergeRaymond Hettinger2014-05-261-4/+156
|\ \ | |/
| * Issue 8743: Improve interoperability between sets and the collections.Set ↵Raymond Hettinger2014-05-261-4/+156
| | | | | | | | abstract base class.
* | Issue 15246: Improve test coverage for collections.abc.Set. (Contributed ↵Raymond Hettinger2014-05-261-0/+53
| | | | | | | | by James King).
* | Issue #19414: Have the OrderedDict mark deleted links as unusable.Raymond Hettinger2014-05-041-0/+10
| | | | | | | | | | This gives an earlier and more visible failure if a link is deleted during iteration.
* | Issue #19505: The items, keys, and values views of OrderedDict now supportSerhiy Storchaka2014-04-041-0/+5
|/ | | | reverse iteration using reversed().
* TestNamedTuple.test_pickle was only testing through protocol 2. Changed to ↵Eric V. Smith2014-02-051-1/+1
| | | | have it automatically test through the most recent version.
* Strengthen one of the collections.Counter() testsRaymond Hettinger2013-10-061-0/+2
|
* mergeRaymond Hettinger2013-10-041-0/+24
|\
| * Issue #18594: Make the C code more closely match the pure python code.Raymond Hettinger2013-10-041-0/+24
| |
* | Close #18690: register memoryview with Sequence ABCNick Coghlan2013-10-021-0/+2
| |
* | #18106: refactor tests to use subtests and proper assert methods. Patch by ↵Ezio Melotti2013-07-071-35/+42
| | | | | | | | Vajrasky Kok.
* | Issue #17900: Allowed pickling of recursive OrderedDicts. Decreased pickledSerhiy Storchaka2013-05-211-2/+11
| | | | | | | | size and pickling time.
* | Undo the deprecation of _asdict().Raymond Hettinger2013-05-181-5/+2
| | | | | | | | Backed out changeset c4ca39bece9d
* | Deprecate nametuple._asdict()Raymond Hettinger2013-05-181-2/+5
| |
* | mergeRaymond Hettinger2013-05-031-0/+1
|\ \ | |/
| * Issue #15535: Fix pickling of named tuples.Raymond Hettinger2013-05-031-0/+1
| |
* | Closes #16613: Added optional mapping argument to ChainMap.new_child.Vinay Sajip2013-01-111-0/+32
|/
* Merge issue #16373: Prevent infinite recursion for ABC Set class operations.Andrew Svetlov2012-11-011-0/+33
|\ | | | | | | Patch by Serhiy Storchaka.
| * Issue #16373: Prevent infinite recursion for ABC Set class operations.Andrew Svetlov2012-11-011-0/+33
| |
* | Fix whitespaceRaymond Hettinger2011-11-051-1/+1
| |
* | MergeRaymond Hettinger2011-11-051-0/+6
|\ \ | |/
| * Improve Counter.__repr__() to not fail with unorderable valuesRaymond Hettinger2011-11-051-0/+6
| |
* | Issue #13121: Support in-place math operators for collections.Counter().Raymond Hettinger2011-10-191-0/+21
| |
* | Add support for unary plus and unary minus to collections.Counter()Raymond Hettinger2011-08-091-0/+5
| |
* | mergeRaymond Hettinger2011-06-031-1/+1
|\ \ | |/
| * Fix named tuples to work with vars().Raymond Hettinger2011-06-031-1/+1
| |
| * Backport 3.3 fixes and cleans ups.Raymond Hettinger2011-05-021-11/+19
| |
| * TestChainMap was not previously used. Minor corrections applied.Łukasz Langa2011-04-291-8/+8
| |
* | Fix minor subclassing issue with collections.CounterRaymond Hettinger2011-04-151-0/+9
|\ \ | |/
| * Fix minor subclassing issue with collections.CounterRaymond Hettinger2011-04-151-0/+9
| |\
| | * Fix minor subclassing issue with collections.CounterRaymond Hettinger2011-04-151-0/+9
| | |
| | * Backport r87613 to make OrderedDict subclassing match dict subclassing.Raymond Hettinger2011-01-041-0/+28
| | |
| | * Merged revisions 86857 via svnmerge fromAlexander Belopolsky2010-11-301-1/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/branches/py3k ........ r86857 | raymond.hettinger | 2010-11-28 22:56:12 -0500 (Sun, 28 Nov 2010) | 1 line Issue #10565: Iterator ABC should require both __next__ and __iter__. ........
| | * Merged revisions 86596 via svnmerge fromEzio Melotti2010-11-211-11/+11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/branches/py3k ........ r86596 | ezio.melotti | 2010-11-20 21:04:17 +0200 (Sat, 20 Nov 2010) | 1 line #9424: Replace deprecated assert* methods in the Python test suite. ........
| | * Issue #9826: Handle recursive repr in collections.OrderedDict.Raymond Hettinger2010-09-121-0/+7
| | |
| | * Merged revisions 84301 via svnmerge fromDaniel Stutzbach2010-08-241-0/+15
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/branches/py3k ........ r84301 | daniel.stutzbach | 2010-08-24 15:49:57 -0500 (Tue, 24 Aug 2010) | 1 line Issue 8750: Fixed MutableSet's methods to correctly handle reflexive operations, namely x -= x and x ^= x ........
| | * Issue #9214: Fix set operations on KeysView and ItemsView.Raymond Hettinger2010-08-221-1/+26
| | |
| | * Merged revisions 82821 via svnmerge fromMark Dickinson2010-07-111-0/+13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/branches/py3k ........ r82821 | mark.dickinson | 2010-07-11 19:53:06 +0100 (Sun, 11 Jul 2010) | 3 lines Issue #9137: Fix issue in MutableMapping.update, which incorrectly treated keyword arguments called 'self' or 'other' specially. ........
| | * Merged revisions 81417 via svnmerge fromBenjamin Peterson2010-05-211-1/+48
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/branches/py3k ................ r81417 | benjamin.peterson | 2010-05-21 15:55:22 -0500 (Fri, 21 May 2010) | 9 lines Merged revisions 81414 via svnmerge from svn+ssh://pythondev@svn.python.org/python/trunk ........ r81414 | benjamin.peterson | 2010-05-21 15:51:45 -0500 (Fri, 21 May 2010) | 1 line return NotImplemented from Mapping when comparing to a non-mapping #8729 ........ ................
| | * Merged revisions 73715 via svnmerge fromGeorg Brandl2009-08-131-72/+72
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | svn+ssh://svn.python.org/python/branches/py3k ........ r73715 | benjamin.peterson | 2009-07-01 01:06:06 +0200 (Mi, 01 Jul 2009) | 1 line convert old fail* assertions to assert* ........
| * | Add tests for the collections helper class and sync-up with py3k branch.Raymond Hettinger2011-02-231-2/+112
| | |
* | | Remove test_importable(). Couldn't see how to make this reliable across all ↵Raymond Hettinger2011-03-241-25/+0
| | | | | | | | | | | | platforms.