Gitiles
Code Review
Sign In
gerrit-public.fairphone.software
/
platform
/
external
/
python
/
cpython2
/
1a74b4325cdfac112bf0d4df8559f87ad3cb9f1a
/
Modules
/
collectionsmodule.c
75e3c52
Fix another reincarnation of bug #1576657 in defaultdict.
by Georg Brandl
· 18 years ago
113776c
Check for a common user error with defaultdict().
by Raymond Hettinger
· 18 years ago
8e932e7
Bug #1486663: don't reject keyword arguments for subclasses of builtin
by Georg Brandl
· 18 years ago
5b44cbe
Fix zero-length corner case for iterating over a mutating deque.
by Raymond Hettinger
· 18 years ago
ccc56c7
Really address the issue of where to place the assert for leftblock.
by Neal Norwitz
· 18 years ago
9cd3c34
Move the assert which checks for a NULL pointer first. Klocwork #274.
by Neal Norwitz
· 18 years ago
5566e96
defdict_reduce(): Plug leaks.
by Tim Peters
· 18 years ago
edf17d8
Use Py_CLEAR instead of in-place DECREF/XDECREF or custom macros, for
by Thomas Wouters
· 19 years ago
3b8ff31
SF Bug #1448488 - make collectionsmodule build on Cygwin, using the same
by Anthony Baxter
· 19 years ago
d37ac69
Remove unnecessary casts from type object initializers.
by Georg Brandl
· 19 years ago
1968ad3
- Patch 1433928:
by Guido van Rossum
· 19 years ago
ad0a462
Use Py_ssize_t for counts and sizes.
by Martin v. Löwis
· 19 years ago
18e1655
Merge ssize_t branch.
by Martin v. Löwis
· 19 years ago
f5b3e36
Renamed _length_cue() to __length_hint__(). See:
by Armin Rigo
· 19 years ago
1ac754f
Check return result from Py_InitModule*(). This API can fail.
by Neal Norwitz
· 19 years ago
6b27cda
Convert iterator __len__() methods to a private API.
by Raymond Hettinger
· 19 years ago
02c4287
Disallow keyword arguments for type constructors that don't use them.
by Georg Brandl
· 19 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
· 20 years ago
7d112df
Bump-up block size.
by Raymond Hettinger
· 20 years ago
dcb9d94
Simplify delitem() code by calling rotate() directly instead of using
by Raymond Hettinger
· 20 years ago
c5fa992
Armin's patch to prevent overflows.
by Raymond Hettinger
· 20 years ago
974d757
Upon insertion, if memory runs out, the deque was left in a corrupted state.
by Armin Rigo
· 20 years ago
d1b3d88
* Bulletproof the method for detecting mutations during iteration.
by Raymond Hettinger
· 20 years ago
77e8bf1
Restore the block length and add a comment.
by Raymond Hettinger
· 20 years ago
4ca4c7c
Clarify the relationship between indices.
by Raymond Hettinger
· 20 years ago
61f05fb
* Elaborate on the invariant comments and make them more precise.
by Raymond Hettinger
· 20 years ago
10c7e86
deque_traverse(): If the deque had one block, and its rightindex was
by Tim Peters
· 20 years ago
d6e0032
Typos in new comments.
by Tim Peters
· 20 years ago
d8768d3
Document some reverse-engineered invariants and pragmatic hints.
by Tim Peters
· 20 years ago
6f85356
Definition consistency.
by Tim Peters
· 20 years ago
1065f75
Trimmed trailing whitespace.
by Tim Peters
· 20 years ago
e9c89e8
Silence a GCC unused variable warning in debug builds.
by Raymond Hettinger
· 20 years ago
67115a2
Apply VISIT macro.
by Raymond Hettinger
· 20 years ago
9ba301e
Moved SunPro warning suppression into pyport.h and out of individual
by Nicholas Bastin
· 20 years ago
a435c53
* balance the left/right search for getitem.
by Raymond Hettinger
· 20 years ago
616f4f6
Add a comment with implementation notes.
by Raymond Hettinger
· 20 years ago
1ce9e4c
Fixed end-of-loop code not reached warning when using SunPro C
by Nicholas Bastin
· 20 years ago
691d805
Make sets and deques weak referencable.
by Raymond Hettinger
· 20 years ago
285cfcc
Make type check work with subclasses
by Raymond Hettinger
· 20 years ago
0e371f2
Make sure "del d[n]" is properly supported. Was necessary because the
by Raymond Hettinger
· 21 years ago
7892b1c
* Add unittests for iterators that report their length
by Raymond Hettinger
· 21 years ago
1e5809f
Improve deque iteration.
by Raymond Hettinger
· 21 years ago
6c79a51
Special case endpoint access for speed.
by Raymond Hettinger
· 21 years ago
0a4977c
Replace left(), right(), and __reversed__() with the more general purpose
by Raymond Hettinger
· 21 years ago
87f1013
Make deque_type static so namespace is not polluted.
by Neal Norwitz
· 21 years ago
738ec90
Improvements to collections.deque():
by Raymond Hettinger
· 21 years ago
a9208f1
Get rid of unused variable
by Neal Norwitz
· 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
d0814eb
Fix spelling.
by Raymond Hettinger
· 21 years ago
756b3f3
* Move collections.deque() in from the sandbox
by Raymond Hettinger
· 21 years ago