Gitiles
Code Review
Sign In
gerrit-public.fairphone.software
/
platform
/
external
/
python
/
cpython2
/
c4afe2950ab97fb529da99b511036b8a974b1694
/
Lib
/
test
/
test_deque.py
ab8b9ca
Expand test coverage for deque.count().
by Raymond Hettinger
· 15 years ago
5f516ed
Add count() method to collections.deque().
by Raymond Hettinger
· 15 years ago
a4f46e1
Remove unused imports in test modules.
by Georg Brandl
· 15 years ago
aa98058
use assert[Not]In where appropriate
by Ezio Melotti
· 15 years ago
a5fd24e
Add a reverse() method to collections.deque().
by Raymond Hettinger
· 15 years ago
0b3263b
Fix variants of deque.extend: d.extend(d) d+=d d.extendleft(d)
by Raymond Hettinger
· 15 years ago
5c8da86
convert usage of fail* to assert*
by Benjamin Peterson
· 16 years ago
56411aa
For collections.deque() objects, expose the maxlen parameter as a read-only attribute.
by Raymond Hettinger
· 16 years ago
bac769b
Small optimization for corner case where maxlen==0.
by Raymond Hettinger
· 16 years ago
733dc74
fill in actual issue number in tests
by Antoine Pitrou
· 16 years ago
aa68790
Issue #3680: Reference cycles created through a dict, set or deque iterator did not get collected.
by Antoine Pitrou
· 16 years ago
0fc0747
Issue #4740: Use HIGHEST_PROTOCOL in pickle test.
by Hirokazu Yamamoto
· 16 years ago
36a59b4
Remove the test file before writing it in case there is no write permission.
by Neal Norwitz
· 17 years ago
40f5e4c
Fix a bunch of UnboundLocalErrors when the tests fail.
by Neal Norwitz
· 17 years ago
c5f05e4
Patch #2167 from calvin: Remove unused imports
by Christian Heimes
· 17 years ago
adf9ffd
Fix bug 1604. deque.__init__() did not clear existing contents like list.__init__. Not a backport candidate.
by Raymond Hettinger
· 17 years ago
6899586
Accept Jim Jewett's api suggestion to use None instead of -1 to indicate unbounded deques.
by Raymond Hettinger
· 18 years ago
a7fc4b1
Add __asdict__() to NamedTuple and refine the docs.
by Raymond Hettinger
· 18 years ago
b84c137
Bug #1486663: don't reject keyword arguments for subclasses of builtin types.
by Georg Brandl
· 18 years ago
51c2f6c
Fix zero-length corner case for iterating over a mutating deque.
by Raymond Hettinger
· 18 years ago
09a3f2c
Add tests for tuple, list and UserList that initialize the object from
by Walter Dörwald
· 20 years ago
c448a91
Fix typo.
by Walter Dörwald
· 20 years ago
d73202c
Apply remove's mutation test after every equality test.
by Raymond Hettinger
· 20 years ago
4aec61e
Add a remove() method to collections.deque objects.
by Raymond Hettinger
· 20 years ago
952f880
SF patch #1062279: deque pickling problems (Contributed by Dima Dorfman.)
by Raymond Hettinger
· 21 years ago
974d757
Upon insertion, if memory runs out, the deque was left in a corrupted state.
by Armin Rigo
· 21 years ago
10c7e86
deque_traverse(): If the deque had one block, and its rightindex was
by Tim Peters
· 21 years ago
ffdb8bb
Use floor division operator.
by Raymond Hettinger
· 21 years ago
770acc2
Remove unnecessary line.
by Raymond Hettinger
· 21 years ago
a435c53
* balance the left/right search for getitem.
by Raymond Hettinger
· 21 years ago
691d805
Make sets and deques weak referencable.
by Raymond Hettinger
· 21 years ago
354433a
SF patch #872326: Generator expression implementation
by Raymond Hettinger
· 21 years ago
0e371f2
Make sure "del d[n]" is properly supported. Was necessary because the
by Raymond Hettinger
· 21 years ago
300fa1d
Temporarily disable doctest until genexps are in CVS
by Raymond Hettinger
· 21 years ago
e7169eb
Add more examples.
by Raymond Hettinger
· 21 years ago
0a4977c
Replace left(), right(), and __reversed__() with the more general purpose
by Raymond Hettinger
· 21 years ago
738ec90
Improvements to collections.deque():
by Raymond Hettinger
· 21 years ago
ee33b27
Make deque.rotate() smarter. Beef-up related tests.
by Raymond Hettinger
· 21 years ago
5c5eb86
* Incorporate Skip's suggestions for documentation (explain the word deque
by Raymond Hettinger
· 21 years ago
c058fd1
* Fix ref counting in extend() and extendleft().
by Raymond Hettinger
· 21 years ago
3ba85c2
Have deques support high volume loads.
by Raymond Hettinger
· 21 years ago
756b3f3
* Move collections.deque() in from the sandbox
by Raymond Hettinger
· 21 years ago