Gitiles
Code Review
Sign In
gerrit-public.fairphone.software
/
platform
/
external
/
python
/
cpython3
/
33e71e01e95506cf8d93fd68251fc56352bc7b39
/
Lib
/
test
/
test_collections.py
f4e1bab
bpo-27141: Fix collections.UserList and UserDict shallow copy. (GH-4094)
by Bar Harel
· 5 years ago
23581c0
bpo-36321: Fix misspelled attribute in namedtuple() (GH-12375)
by Raymond Hettinger
· 6 years ago
f36f892
bpo-36068: Make _tuplegetter objects serializable (GH-11981)
by Joe Jevnik
· 6 years ago
407c734
bpo-36057 Update docs and tests for ordering in collections.Counter [no behavior change] (#11962)
by Raymond Hettinger
· 6 years ago
86f093f
bpo-36060: Document how collections.ChainMap() determines iteration order (GH-11969)
by Raymond Hettinger
· 6 years ago
052b2df
bpo-32492: Tweak _collections._tuplegetter. (GH-11367)
by Serhiy Storchaka
· 6 years ago
3f5fc70
bpo-32492: 1.6x speed up in namedtuple attribute access using C fast-path (#10495)
by Pablo Galindo
· 6 years ago
b9498e2
bpo-35202: Remove unused imports in Lib directory. (GH-10446)
by Srinivas Thatiparthy (శ్రీనివాస్ తాటిపర్తి)
· 6 years ago
6531bf6
bpo-33462: Add __reversed__ to dict and dict views (GH-6827)
by Rémi Lapeyre
· 6 years ago
1b5f9c9
bpo-34427: Fix infinite loop when calling MutableSequence.extend() on self (GH-8813)
by Naris R
· 6 years ago
3793f95
bpo-32792: Preserve mapping order in ChainMap() (GH-5586)
by Raymond Hettinger
· 7 years ago
02556fb
bpo-32467: Let collections.abc.ValuesView inherit from Collection (#5152)
by Raymond Hettinger
· 7 years ago
3948207
bpo-32320: Add default value support to collections.namedtuple() (#4859)
by Raymond Hettinger
· 7 years ago
53f7a7c
bpo-32297: Few misspellings found in Python source code comments. (#4803)
by Mike
· 7 years ago
faa135a
bpo-31709: Drop support for asynchronous __aiter__. (#3903)
by Yury Selivanov
· 7 years ago
8b57d73
bpo-28638: Optimize namedtuple() creation time by minimizing use of exec() (#3454)
by Raymond Hettinger
· 7 years ago
d6debb2
bpo-29919: Remove unused imports found by pyflakes (#137)
by Victor Stinner
· 7 years ago
d5d3249
bpo-26915: Test identity first in membership operation in index() and count() methods of collections.abc.Sequence (GH-503)
by Xiang Zhang
· 8 years ago
5bb8b91
Issue #18896: Python function can now have more than 255 parameters.
by Serhiy Storchaka
· 8 years ago
22214ab
Issue #28720: Add collections.abc.AsyncGenerator.
by Yury Selivanov
· 8 years ago
0d5048c
Issue #17941: Add a *module* parameter to collections.namedtuple()
by Raymond Hettinger
· 8 years ago
f066694
Issue 27598: Add Collections to collections.abc.
by Guido van Rossum
· 8 years ago
97c1adf
Anti-registration of various ABC methods.
by Guido van Rossum
· 8 years ago
6538b43
Issue #25628: Make namedtuple "rename" and "verbose" parameters keyword-only.
by Raymond Hettinger
· 8 years ago
8bde911
Issue #27626: Merge spelling fixes from 3.5
by Martin Panter
· 8 years ago
eb99570
Issue #27626: Spelling fixes in docs, comments and internal names
by Martin Panter
· 8 years ago
584e8ae
Issue 26915: Add identity checks to the collections ABC __contains__ methods.
by Raymond Hettinger
· 8 years ago
16ca06b
Add collections.Reversible. Patch by Ivan Levkivskyi. Fixes issue #25987.
by Guido van Rossum
· 8 years ago
2cefc1e
Issue #25616: Tests for OrderedDict are extracted from test_collections
by Serhiy Storchaka
· 9 years ago
33e7ea5
Issue #25616: Tests for OrderedDict are extracted from test_collections
by Serhiy Storchaka
· 9 years ago
710cd34
Issue #25449: Fixed a crash and leaking NULL in repr() of OrderedDict that
by Serhiy Storchaka
· 9 years ago
b45b7b2
Issue #25449: Iterating OrderedDict with keys with unstable hash now raises
by Serhiy Storchaka
· 9 years ago
14eefe3
Issue #25395: Fixed crash when highly nested OrderedDict structures were
by Serhiy Storchaka
· 9 years ago
992ec46
Issue #25406: Fixed a bug in C implementation of OrderedDict.move_to_end()
by Serhiy Storchaka
· 9 years ago
9157545
merge
by Raymond Hettinger
· 9 years ago
7a3602e
Issue #24931: Resolve __dict__ conflict in namedtuple subclasses.
by Raymond Hettinger
· 9 years ago
8c7f955
Issue #24667: Resize odict in all cases that the underlying dict resizes.
by Eric Snow
· 9 years ago
fdbeb2b
Issue #24400: Resurrect inspect.isawaitable()
by Yury Selivanov
· 9 years ago
4fabf02
Issue #24369: Defend against key-changes during iteration.
by Eric Snow
· 9 years ago
ac02ef3
Issue #24368: Support keyword arguments in OrderedDict methods.
by Eric Snow
· 9 years ago
b952ab4
Issue #24359: Check for changed OrderedDict size during iteration.
by Eric Snow
· 9 years ago
d171975
Issue #24348: Drop superfluous increfs/decrefs.
by Eric Snow
· 9 years ago
a762af7
Issue #24347: Set KeyError if PyDict_GetItemWithError returns NULL.
by Eric Snow
· 9 years ago
67fb92e
Issue #16991: Do not return None from OrderedDict.__reversed__.
by Eric Snow
· 9 years ago
7aa5341
Reverting my previous commit.
by Yury Selivanov
· 9 years ago
47db717
Issue #16991: Add a C implementation of collections.OrderedDict.
by Eric Snow
· 9 years ago
a24fcfd
Issue 24315: Make collections.abc.Coroutine derived from Awaitable
by Yury Selivanov
· 9 years ago
56fc614
Issue 24315: Make collections.abc.Coroutine derived from Awaitable
by Yury Selivanov
· 9 years ago
c074e9d
Issue #24286: Forward port dict view abstract base class tests.
by Raymond Hettinger
· 9 years ago
ec219ba
Issue #23086: Add start and stop arguments to the Sequence.index() mixin method.
by Raymond Hettinger
· 9 years ago
573b44c
Issue 22189: Add missing methods to UserString
by Raymond Hettinger
· 9 years ago
e0104ae
Issue 24184: Add AsyncIterator and AsyncIterable to collections.abc.
by Yury Selivanov
· 9 years ago
08e5300
collections.abc.tests: Remove some unnecessary code.
by Yury Selivanov
· 9 years ago
aded55c
collections.abc: Test that if an object is a Coroutine it is also an Awaitable
by Yury Selivanov
· 9 years ago
eac503a
Issue #24064: Property() docstrings are now writeable. (Patch by Berker Peksag.)
by Raymond Hettinger
· 9 years ago
7544508
PEP 0492 -- Coroutines with async and await syntax. Issue #24017.
by Yury Selivanov
· 9 years ago
bd60e8d
Issue #24018: Add a collections.Generator abstract base class.
by Raymond Hettinger
· 9 years ago
32ea165
Issue 23704: Add index(), copy(), and insert() to deques. Register deques as a MutableSequence.
by Raymond Hettinger
· 10 years ago
65ee467
Issue #22777: Test pickling with all protocols.
by Serhiy Storchaka
· 10 years ago
bad1257
Issue #22777: Test pickling with all protocols.
by Serhiy Storchaka
· 10 years ago
a86700a
Issue #22609: Revert changes in UserDict. They conflicted with existing tests.
by Serhiy Storchaka
· 10 years ago
ae5cb21
Issue #22609: Constructors and update methods of mapping classes in the
by Serhiy Storchaka
· 10 years ago
f51f713
Issue #22609: Revert changes in UserDict. They conflicted with existing tests.
by Serhiy Storchaka
· 10 years ago
8943ecf
Issue #22609: Constructors and update methods of mapping classes in the
by Serhiy Storchaka
· 10 years ago
bb6c0aa
PEP 479: Use the return-keyword instead of raising StopIteration inside a generators.
by Raymond Hettinger
· 10 years ago
aa92d34
merge
by Raymond Hettinger
· 10 years ago
dd5e53a
Issue 8743: Improve interoperability between sets and the collections.Set abstract base class.
by Raymond Hettinger
· 10 years ago
2d452ee
Issue 15246: Improve test coverage for collections.abc.Set. (Contributed by James King).
by Raymond Hettinger
· 10 years ago
53d2c41
Issue #19414: Have the OrderedDict mark deleted links as unusable.
by Raymond Hettinger
· 10 years ago
578c921
Issue #19505: The items, keys, and values views of OrderedDict now support
by Serhiy Storchaka
· 10 years ago
4d5d69d
TestNamedTuple.test_pickle was only testing through protocol 2. Changed to have it automatically test through the most recent version.
by Eric V. Smith
· 11 years ago
facd0a3
Strengthen one of the collections.Counter() tests
by Raymond Hettinger
· 11 years ago
07573d7
merge
by Raymond Hettinger
· 11 years ago
cb1d96f
Issue #18594: Make the C code more closely match the pure python code.
by Raymond Hettinger
· 11 years ago
45163cc
Close #18690: register memoryview with Sequence ABC
by Nick Coghlan
· 11 years ago
0cb2aaf
#18106: refactor tests to use subtests and proper assert methods. Patch by Vajrasky Kok.
by Ezio Melotti
· 11 years ago
3ee6dab
Issue #17900: Allowed pickling of recursive OrderedDicts. Decreased pickled
by Serhiy Storchaka
· 11 years ago
163e982
Undo the deprecation of _asdict().
by Raymond Hettinger
· 11 years ago
4e0172f
Deprecate nametuple._asdict()
by Raymond Hettinger
· 11 years ago
4072875
merge
by Raymond Hettinger
· 11 years ago
b98dcc1
Issue #15535: Fix pickling of named tuples.
by Raymond Hettinger
· 11 years ago
1ba81ee
Closes #16613: Added optional mapping argument to ChainMap.new_child.
by Vinay Sajip
· 12 years ago
b904e42
Merge issue #16373: Prevent infinite recursion for ABC Set class operations.
by Andrew Svetlov
· 12 years ago
bcac6ad
Issue #16373: Prevent infinite recursion for ABC Set class operations.
by Andrew Svetlov
· 12 years ago
68fb89f
Fix whitespace
by Raymond Hettinger
· 13 years ago
f1182cd
Merge
by Raymond Hettinger
· 13 years ago
4e6bf41
Improve Counter.__repr__() to not fail with unorderable values
by Raymond Hettinger
· 13 years ago
becd568
Issue #13121: Support in-place math operators for collections.Counter().
by Raymond Hettinger
· 13 years ago
fcb393c
Add support for unary plus and unary minus to collections.Counter()
by Raymond Hettinger
· 13 years ago
22cc118
merge
by Raymond Hettinger
· 13 years ago
3d89057
Fix named tuples to work with vars().
by Raymond Hettinger
· 13 years ago
a5ac2ce
Backport 3.3 fixes and cleans ups.
by Raymond Hettinger
· 13 years ago
75da860
TestChainMap was not previously used. Minor corrections applied.
by Łukasz Langa
· 13 years ago
b5a40d4
Fix minor subclassing issue with collections.Counter
by Raymond Hettinger
· 13 years ago
6c9e5b7
Fix minor subclassing issue with collections.Counter
by Raymond Hettinger
· 13 years ago
1c746c2
Fix minor subclassing issue with collections.Counter
by Raymond Hettinger
· 13 years ago
6712a3e
Remove test_importable(). Couldn't see how to make this reliable across all platforms.
by Raymond Hettinger
· 13 years ago
d4652fa
Isolate the test_source() test in test_collections
by Raymond Hettinger
· 13 years ago
f6d3e8e
Add tests for _source to importable and exec'able.
by Raymond Hettinger
· 13 years ago
2ebea41
Expose the namedtuple source with a _source attribute.
by Raymond Hettinger
· 13 years ago
Next »