summaryrefslogtreecommitdiffstats
path: root/Modules/_collectionsmodule.c
Commit message (Expand)AuthorAgeFilesLines
* Issue #19663: Improve error message for defaultdict.Raymond Hettinger2015-07-201-1/+1
* Defer deleted item decref until after the deque is restored to a consistent s...Raymond Hettinger2015-05-021-6/+6
* merge 3.3 (#20250)Benjamin Peterson2014-01-141-1/+3
|\
| * correct defaultdict signature in docstring (closes #20250)Benjamin Peterson2014-01-141-1/+3
* | Issue #19512: _count_elements() of _collections reuses PyId_get identifierVictor Stinner2013-11-061-1/+1
* | mergeRaymond Hettinger2013-10-041-14/+15
|\ \ | |/
| * Issue #18594: Make the C code more closely match the pure python code.Raymond Hettinger2013-10-041-14/+15
* | mergeRaymond Hettinger2013-10-021-18/+23
|\ \ | |/
| * Issue #18594: Fix the fallback path in collections.Counter().Raymond Hettinger2013-10-021-18/+23
* | mergeRaymond Hettinger2013-10-011-1/+15
|\ \ | |/
| * Issue #18594: Fix the fast path for collections.Counter().Raymond Hettinger2013-10-011-1/+15
| * Backport deque.rotate() improvements.Raymond Hettinger2013-02-101-19/+73
* | Restore the data block size to 62.Raymond Hettinger2013-07-281-3/+6
* | Assertions key off NDEBUGRaymond Hettinger2013-07-271-1/+1
* | Minor code simplification by eliminating an unnecessary temporary variable.Raymond Hettinger2013-07-211-12/+6
* | Tweak the deque struct by moving the least used fields (maxlen and weakref) t...Raymond Hettinger2013-07-141-1/+1
* | Use a do-while loop in the inner loop for rotate (m is always greater than ze...Raymond Hettinger2013-07-141-2/+6
* | Move the freeblock() call outside the main loop to speed-up and simplify the ...Raymond Hettinger2013-07-131-9/+15
* | Add a spacing saving heuristic to deque's extend methodsRaymond Hettinger2013-07-091-0/+16
* | Fix #ifdefRaymond Hettinger2013-07-071-1/+1
* | Use macros for marking and checking endpoints in the doubly-linked list of bl...Raymond Hettinger2013-07-071-47/+81
* | Improve variable names in deque_count()Raymond Hettinger2013-07-071-8/+8
* | Apply the PyObject_VAR_HEAD and Py_SIZE macrosRaymond Hettinger2013-07-061-40/+39
* | Refactor deque_traverse().Raymond Hettinger2013-07-061-6/+6
* | Remove unnecessary branches from count() and reverse().Raymond Hettinger2013-07-061-6/+3
* | Speed-up deque indexing by changing the deque block length to a power of two.Raymond Hettinger2013-07-061-1/+1
* | Misc improvements to collections.deque()Raymond Hettinger2013-06-231-72/+93
* | Minor tweaks to varnames, declarations, and comments.Raymond Hettinger2013-02-071-8/+7
* | Minor variable access clean-ups for deque.rotate().Raymond Hettinger2013-02-051-13/+13
* | Minor edits: Tighten-up the halflen logic and touch-up the assertions and co...Raymond Hettinger2013-02-041-10/+6
* | Issue 16398: One more assertion for good measure.Raymond Hettinger2013-02-021-0/+2
* | Issue 16398: Add assertions to show why memcmp is safe.Raymond Hettinger2013-02-021-1/+4
* | Issue 16398: Use memcpy() in deque.rotate().Raymond Hettinger2013-02-021-50/+60
* | merge 3.3Benjamin Peterson2013-01-131-6/+2
|\ \ | |/
| * make deque_clear void, since it's infallibleBenjamin Peterson2013-01-131-6/+2
* | Issue #16398: Optimize deque.rotate()Raymond Hettinger2013-01-121-14/+58
|/
* Merge: fix docstring for deque ctor to mark iterable parameter optionalAndrew Svetlov2012-10-311-1/+1
|\
| * Fix docstring for deque ctor to mark iterable parameter optionalAndrew Svetlov2012-10-311-1/+1
* | MERGE: Closes #15469: Correct __sizeof__ support for dequeJesus Cea2012-08-031-1/+20
|\ \ | |/
| * Closes #15469: Correct __sizeof__ support for dequeJesus Cea2012-08-031-1/+20
* | Issue #14288: Serialization support for builtin iterators.Kristján Valur Jónsson2012-04-031-2/+91
* | Issue #13015: Fix a possible reference leak in defaultdict.__repr__.Antoine Pitrou2012-02-151-1/+3
|\ \ | |/
| * Issue #13015: Fix a possible reference leak in defaultdict.__repr__.Antoine Pitrou2012-02-151-1/+3
* | Rename _Py_identifier to _Py_IDENTIFIER.Martin v. Löwis2011-10-141-2/+2
* | Use identifier API for PyObject_GetAttrString.Martin v. Löwis2011-10-101-1/+2
* | Add API for static strings, primarily good for identifiers.Martin v. Löwis2011-10-091-1/+3
* | Replace Py_NotImplemented returns with the macro form Py_RETURN_NOTIMPLEMENTED.Brian Curtin2011-08-111-2/+1
* | Simplify _count_elements() in _collectionsVictor Stinner2011-04-201-12/+4
|/
* Issue 11713: clarify docstring for collections.deque()Raymond Hettinger2011-03-301-1/+1
* Issue #11004: Repair edge case in deque.count().Raymond Hettinger2011-01-251-4/+7