Gitiles
Code Review
Sign In
gerrit-public.fairphone.software
/
platform
/
external
/
python
/
cpython3
/
11e6d79eca724697f096ba465046c8ea4f8cf86d
/
Lib
/
test
/
test_collections.py
f02dcc8
Merge from 3.5.
by Eric Snow
· 9 years ago
4fabf02
Issue #24369: Defend against key-changes during iteration.
by Eric Snow
· 9 years ago
d14de5e
Merge from 3.5.
by Eric Snow
· 9 years ago
ac02ef3
Issue #24368: Support keyword arguments in OrderedDict methods.
by Eric Snow
· 9 years ago
ec6cd16
Merge from 3.5.
by Eric Snow
· 9 years ago
b952ab4
Issue #24359: Check for changed OrderedDict size during iteration.
by Eric Snow
· 9 years ago
e9dd08d
Merge from 3.5.
by Eric Snow
· 9 years ago
d171975
Issue #24348: Drop superfluous increfs/decrefs.
by Eric Snow
· 9 years ago
c976b73
Merge from 3.5.
by Eric Snow
· 9 years ago
a762af7
Issue #24347: Set KeyError if PyDict_GetItemWithError returns NULL.
by Eric Snow
· 9 years ago
e39facf
Issue #16991: Ensure that the proper OrderedDict is used in tests.
by Eric Snow
· 9 years ago
3ef8958
Merge from 3.5.
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
· 11 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
· 14 years ago
6c9e5b7
Fix minor subclassing issue with collections.Counter
by Raymond Hettinger
· 14 years ago
1c746c2
Fix minor subclassing issue with collections.Counter
by Raymond Hettinger
· 14 years ago
6712a3e
Remove test_importable(). Couldn't see how to make this reliable across all platforms.
by Raymond Hettinger
· 14 years ago
d4652fa
Isolate the test_source() test in test_collections
by Raymond Hettinger
· 14 years ago
f6d3e8e
Add tests for _source to importable and exec'able.
by Raymond Hettinger
· 14 years ago
2ebea41
Expose the namedtuple source with a _source attribute.
by Raymond Hettinger
· 14 years ago
0716a57
Mentioned new clear() method of MutableSequence in its doc, and added unit tests for its mixin methods
by Eli Bendersky
· 14 years ago
d032131
Add __bool__ method. Add tests. Fix-up broken test.
by Raymond Hettinger
· 14 years ago
9fe1ccf
Issue #11297: Add collections.ChainMap()
by Raymond Hettinger
· 14 years ago
dcb29c9
Add tests for the collections helper class and sync-up with py3k branch.
by Raymond Hettinger
· 14 years ago
499e193
Add tests for the _ChainMap helper class.
by Raymond Hettinger
· 14 years ago
57d1a88
Fix imports from collections.abc
by Raymond Hettinger
· 14 years ago
1d879f6
Backport r87613 to make OrderedDict subclassing match dict subclassing.
by Raymond Hettinger
· 14 years ago
426e052
Make C helper function more closely match the pure python version, and add tests.
by Raymond Hettinger
· 14 years ago
345c49b
Fix OrderedDic.pop() to work for subclasses that define __missing__().
by Raymond Hettinger
· 14 years ago
32062e9
Make it easier to extend OrderedDict without breaking it.
by Raymond Hettinger
· 14 years ago
a673b1f
Fix OrderedDict.setdefault() to work for subclasses that define __missing__().
by Raymond Hettinger
· 14 years ago
fdb32c1
Merged revisions 86857 via svnmerge from
by Alexander Belopolsky
· 14 years ago
ead2222
Issue #10565: Iterator ABC should require both __next__ and __iter__.
by Raymond Hettinger
· 14 years ago
19f2aeb
Merged revisions 86596 via svnmerge from
by Ezio Melotti
· 14 years ago
b3aedd4
#9424: Replace deprecated assert* methods in the Python test suite.
by Ezio Melotti
· 14 years ago
35c87f2
Issue 9865: add __sizeof__ to OrderedDict.
by Raymond Hettinger
· 14 years ago
69976a7
Issue #9826: Handle recursive repr in collections.OrderedDict.
by Raymond Hettinger
· 14 years ago
dc08a14
Issue #9826: Handle recursive repr in collections.OrderedDict.
by Raymond Hettinger
· 14 years ago
f45abc9
Add method to OrderedDict for repositioning keys to the ends.
by Raymond Hettinger
· 14 years ago
e21624f
Merged revisions 84301 via svnmerge from
by Daniel Stutzbach
· 14 years ago
31da5b2
Issue 8750: Fixed MutableSet's methods to correctly handle reflexive operations, namely x -= x and x ^= x
by Daniel Stutzbach
· 14 years ago
0e708a1
Issue #9214: Fix set operations on KeysView and ItemsView.
by Raymond Hettinger
· 14 years ago
9117c75
Issue #9214: Fix set operations on KeysView and ItemsView.
by Raymond Hettinger
· 14 years ago
d331ce9
Issue #9507: Named tuple repr will now automatically display the right
by Raymond Hettinger
· 14 years ago
16d0376
Merged revisions 82821 via svnmerge from
by Mark Dickinson
· 14 years ago
b214e90
Issue #9137: Fix issue in MutableMapping.update, which incorrectly
by Mark Dickinson
· 14 years ago
8e13de6
Merged revisions 81417 via svnmerge from
by Benjamin Peterson
· 14 years ago
4ad6bd5
Merged revisions 81414 via svnmerge from
by Benjamin Peterson
· 14 years ago
9c01e44
Add a subtract() method to collections.Counter()
by Raymond Hettinger
· 15 years ago
1b37e87
Merged revisions 78093 via svnmerge from
by Georg Brandl
· 15 years ago
ce153f6
Backport the tests only.
by Florent Xicluna
· 15 years ago
Next »