summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_collections.py
Commit message (Collapse)AuthorAgeFilesLines
...
| * Issue #25616: Tests for OrderedDict are extracted from test_collectionsSerhiy Storchaka2015-11-251-307/+13
| | | | | | | | into separate file test_ordered_dict.
* | Issue #25449: Fixed a crash and leaking NULL in repr() of OrderedDict thatSerhiy Storchaka2015-11-041-0/+54
| | | | | | | | was mutated by direct calls of dict methods.
* | Issue #25449: Iterating OrderedDict with keys with unstable hash now raisesSerhiy Storchaka2015-11-041-61/+83
| | | | | | | | | | | | KeyError in C implementations as well as in Python implementation. Added tests for OrderedDict subclasses.
* | Issue #25395: Fixed crash when highly nested OrderedDict structures wereSerhiy Storchaka2015-11-011-0/+24
| | | | | | | | garbage collected.
* | Issue #25406: Fixed a bug in C implementation of OrderedDict.move_to_end()Serhiy Storchaka2015-10-141-0/+14
| | | | | | | | | | that caused segmentation fault or hang in iterating after moving several items to the start of ordered dict.
* | mergeRaymond Hettinger2015-08-301-1/+11
|\ \ | |/
| * Issue #24931: Resolve __dict__ conflict in namedtuple subclasses.Raymond Hettinger2015-08-301-1/+11
| |
* | Issue #24667: Resize odict in all cases that the underlying dict resizes.Eric Snow2015-08-071-0/+23
| |
* | Issue #24400: Resurrect inspect.isawaitable()Yury Selivanov2015-07-031-4/+8
| | | | | | | | | | | | | | | | collections.abc.Awaitable and collections.abc.Coroutine no longer use __instancecheck__ hook to detect generator-based coroutines. inspect.isawaitable() can be used to detect generator-based coroutines and to distinguish them from regular generator objects.
* | Issue #24369: Defend against key-changes during iteration.Eric Snow2015-06-041-0/+17
| |
* | Issue #24368: Support keyword arguments in OrderedDict methods.Eric Snow2015-06-031-1/+15
| |
* | Issue #24359: Check for changed OrderedDict size during iteration.Eric Snow2015-06-021-4/+0
| |
* | Issue #24348: Drop superfluous increfs/decrefs.Eric Snow2015-06-021-0/+12
| |
* | Issue #24347: Set KeyError if PyDict_GetItemWithError returns NULL.Eric Snow2015-06-021-0/+18
| |
* | Issue #16991: Do not return None from OrderedDict.__reversed__.Eric Snow2015-05-301-1/+13
| |
* | Reverting my previous commit.Yury Selivanov2015-05-301-7/+0
| | | | | | | | Something went horribly wrong when I was doing `hg rebase`.
* | Issue #16991: Add a C implementation of collections.OrderedDict.Eric Snow2015-05-301-18/+184
| |
* | Issue 24315: Make collections.abc.Coroutine derived from AwaitableYury Selivanov2015-05-291-7/+27
|\ \ | | | | | | | | | (Merge 3.5)
| * | Issue 24315: Make collections.abc.Coroutine derived from AwaitableYury Selivanov2015-05-291-7/+27
| | |
* | | Issue #24286: Forward port dict view abstract base class tests.Raymond Hettinger2015-05-261-0/+7
|/ /
* | Issue #23086: Add start and stop arguments to the Sequence.index() mixin method.Raymond Hettinger2015-05-231-0/+35
| |
* | Issue 22189: Add missing methods to UserStringRaymond Hettinger2015-05-221-2/+23
| |
* | Issue 24184: Add AsyncIterator and AsyncIterable to collections.abc.Yury Selivanov2015-05-141-1/+35
| |
* | collections.abc.tests: Remove some unnecessary code.Yury Selivanov2015-05-141-7/+4
| |
* | collections.abc: Test that if an object is a Coroutine it is also an AwaitableYury Selivanov2015-05-141-0/+16
| |
* | Issue #24064: Property() docstrings are now writeable.Raymond Hettinger2015-05-131-0/+8
| | | | | | | | (Patch by Berker Peksag.)
* | PEP 0492 -- Coroutines with async and await syntax. Issue #24017.Yury Selivanov2015-05-121-0/+80
| |
* | Issue #24018: Add a collections.Generator abstract base class.Raymond Hettinger2015-05-091-1/+72
| |
* | 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
| |