Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | bpo-26915: Test identity first in index() and count() of ↵ | Xiang Zhang | 2017-03-08 | 1 | -4/+13 |
| | | | | collections.abc.Sequence (GH-553) | ||||
* | Issue #28720: Add collections.abc.AsyncGenerator. | Yury Selivanov | 2016-11-16 | 1 | -1/+83 |
| | |||||
* | Issue #17941: Add a *module* parameter to collections.namedtuple() | Raymond Hettinger | 2016-09-12 | 1 | -0/+4 |
| | |||||
* | Issue 27598: Add Collections to collections.abc. | Guido van Rossum | 2016-08-23 | 1 | -1/+89 |
| | | | | Patch by Ivan Levkivskyi, docs by Neil Girdhar. | ||||
* | Anti-registration of various ABC methods. | Guido van Rossum | 2016-08-18 | 1 | -7/+53 |
| | | | | | | | | | | - Issue #25958: Support "anti-registration" of special methods from various ABCs, like __hash__, __iter__ or __len__. All these (and several more) can be set to None in an implementation class and the behavior will be as if the method is not defined at all. (Previously, this mechanism existed only for __hash__, to make mutable classes unhashable.) Code contributed by Andrew Barnert and Ivan Levkivskyi. | ||||
* | Issue #25628: Make namedtuple "rename" and "verbose" parameters keyword-only. | Raymond Hettinger | 2016-08-16 | 1 | -0/+12 |
| | |||||
* | Issue #27626: Merge spelling fixes from 3.5 | Martin Panter | 2016-07-28 | 1 | -1/+1 |
|\ | |||||
| * | Issue #27626: Spelling fixes in docs, comments and internal names | Martin Panter | 2016-07-28 | 1 | -1/+1 |
| | | | | | | | | Based on patch by Ville Skyttä. | ||||
* | | Issue 26915: Add identity checks to the collections ABC __contains__ methods. | Raymond Hettinger | 2016-05-05 | 1 | -1/+21 |
| | | |||||
* | | Add collections.Reversible. Patch by Ivan Levkivskyi. Fixes issue #25987. | Guido van Rossum | 2016-04-04 | 1 | -3/+28 |
|/ | |||||
* | Issue #25616: Tests for OrderedDict are extracted from test_collections | Serhiy Storchaka | 2015-11-25 | 1 | -691/+12 |
|\ | | | | | | | into separate file test_ordered_dict. | ||||
| * | Issue #25616: Tests for OrderedDict are extracted from test_collections | Serhiy Storchaka | 2015-11-25 | 1 | -307/+13 |
| | | | | | | | | into separate file test_ordered_dict. | ||||
* | | Issue #25449: Fixed a crash and leaking NULL in repr() of OrderedDict that | Serhiy Storchaka | 2015-11-04 | 1 | -0/+54 |
| | | | | | | | | was mutated by direct calls of dict methods. | ||||
* | | Issue #25449: Iterating OrderedDict with keys with unstable hash now raises | Serhiy Storchaka | 2015-11-04 | 1 | -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 were | Serhiy Storchaka | 2015-11-01 | 1 | -0/+24 |
| | | | | | | | | garbage collected. | ||||
* | | Issue #25406: Fixed a bug in C implementation of OrderedDict.move_to_end() | Serhiy Storchaka | 2015-10-14 | 1 | -0/+14 |
| | | | | | | | | | | that caused segmentation fault or hang in iterating after moving several items to the start of ordered dict. | ||||
* | | merge | Raymond Hettinger | 2015-08-30 | 1 | -1/+11 |
|\ \ | |/ | |||||
| * | Issue #24931: Resolve __dict__ conflict in namedtuple subclasses. | Raymond Hettinger | 2015-08-30 | 1 | -1/+11 |
| | | |||||
* | | Issue #24667: Resize odict in all cases that the underlying dict resizes. | Eric Snow | 2015-08-07 | 1 | -0/+23 |
| | | |||||
* | | Issue #24400: Resurrect inspect.isawaitable() | Yury Selivanov | 2015-07-03 | 1 | -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 Snow | 2015-06-04 | 1 | -0/+17 |
| | | |||||
* | | Issue #24368: Support keyword arguments in OrderedDict methods. | Eric Snow | 2015-06-03 | 1 | -1/+15 |
| | | |||||
* | | Issue #24359: Check for changed OrderedDict size during iteration. | Eric Snow | 2015-06-02 | 1 | -4/+0 |
| | | |||||
* | | Issue #24348: Drop superfluous increfs/decrefs. | Eric Snow | 2015-06-02 | 1 | -0/+12 |
| | | |||||
* | | Issue #24347: Set KeyError if PyDict_GetItemWithError returns NULL. | Eric Snow | 2015-06-02 | 1 | -0/+18 |
| | | |||||
* | | Issue #16991: Do not return None from OrderedDict.__reversed__. | Eric Snow | 2015-05-30 | 1 | -1/+13 |
| | | |||||
* | | Reverting my previous commit. | Yury Selivanov | 2015-05-30 | 1 | -7/+0 |
| | | | | | | | | Something went horribly wrong when I was doing `hg rebase`. | ||||
* | | Issue #16991: Add a C implementation of collections.OrderedDict. | Eric Snow | 2015-05-30 | 1 | -18/+184 |
| | | |||||
* | | Issue 24315: Make collections.abc.Coroutine derived from Awaitable | Yury Selivanov | 2015-05-29 | 1 | -7/+27 |
|\ \ | | | | | | | | | | (Merge 3.5) | ||||
| * | | Issue 24315: Make collections.abc.Coroutine derived from Awaitable | Yury Selivanov | 2015-05-29 | 1 | -7/+27 |
| | | | |||||
* | | | Issue #24286: Forward port dict view abstract base class tests. | Raymond Hettinger | 2015-05-26 | 1 | -0/+7 |
|/ / | |||||
* | | Issue #23086: Add start and stop arguments to the Sequence.index() mixin method. | Raymond Hettinger | 2015-05-23 | 1 | -0/+35 |
| | | |||||
* | | Issue 22189: Add missing methods to UserString | Raymond Hettinger | 2015-05-22 | 1 | -2/+23 |
| | | |||||
* | | Issue 24184: Add AsyncIterator and AsyncIterable to collections.abc. | Yury Selivanov | 2015-05-14 | 1 | -1/+35 |
| | | |||||
* | | collections.abc.tests: Remove some unnecessary code. | Yury Selivanov | 2015-05-14 | 1 | -7/+4 |
| | | |||||
* | | collections.abc: Test that if an object is a Coroutine it is also an Awaitable | Yury Selivanov | 2015-05-14 | 1 | -0/+16 |
| | | |||||
* | | Issue #24064: Property() docstrings are now writeable. | Raymond Hettinger | 2015-05-13 | 1 | -0/+8 |
| | | | | | | | | (Patch by Berker Peksag.) | ||||
* | | PEP 0492 -- Coroutines with async and await syntax. Issue #24017. | Yury Selivanov | 2015-05-12 | 1 | -0/+80 |
| | | |||||
* | | Issue #24018: Add a collections.Generator abstract base class. | Raymond Hettinger | 2015-05-09 | 1 | -1/+72 |
| | | |||||
* | | Issue 23704: Add index(), copy(), and insert() to deques. Register deques ↵ | Raymond Hettinger | 2015-03-21 | 1 | -1/+2 |
| | | | | | | | | as a MutableSequence. | ||||
* | | Issue #22777: Test pickling with all protocols. | Serhiy Storchaka | 2014-12-15 | 1 | -45/+36 |
|\ \ | |/ | |||||
| * | Issue #22777: Test pickling with all protocols. | Serhiy Storchaka | 2014-12-15 | 1 | -45/+36 |
| | | |||||
* | | Issue #22609: Revert changes in UserDict. They conflicted with existing tests. | Serhiy Storchaka | 2014-11-27 | 1 | -20/+1 |
|\ \ | |/ | |||||
| * | Issue #22609: Revert changes in UserDict. They conflicted with existing tests. | Serhiy Storchaka | 2014-11-27 | 1 | -20/+1 |
| | | |||||
* | | Issue #22609: Constructors and update methods of mapping classes in the | Serhiy Storchaka | 2014-11-27 | 1 | -3/+61 |
|\ \ | |/ | | | | | collections module now accept the self keyword argument. | ||||
| * | Issue #22609: Constructors and update methods of mapping classes in the | Serhiy Storchaka | 2014-11-27 | 1 | -3/+61 |
| | | | | | | | | collections module now accept the self keyword argument. | ||||
* | | PEP 479: Use the return-keyword instead of raising StopIteration inside a ↵ | Raymond Hettinger | 2014-11-23 | 1 | -1/+1 |
| | | | | | | | | generators. | ||||
* | | merge | Raymond Hettinger | 2014-05-26 | 1 | -4/+156 |
|\ \ | |/ | |||||
| * | Issue 8743: Improve interoperability between sets and the collections.Set ↵ | Raymond Hettinger | 2014-05-26 | 1 | -4/+156 |
| | | | | | | | | abstract base class. | ||||
* | | Issue 15246: Improve test coverage for collections.abc.Set. (Contributed ↵ | Raymond Hettinger | 2014-05-26 | 1 | -0/+53 |
| | | | | | | | | by James King). |