summaryrefslogtreecommitdiff
path: root/Modules/_collectionsmodule.c
AgeCommit message (Expand)AuthorLines
2017-03-30bpo-29935: Fixed error messages in the index() method of tuple, list and dequ...Serhiy Storchaka-2/+2
2017-01-14Merge doc fixes from 3.5Martin Panter-1/+1
2017-01-14Fix grammar, typos and markup in documentation and code commentsMartin Panter-1/+1
2016-11-06Issue #28123: _PyDict_GetItem_KnownHash() now can raise an exception asSerhiy Storchaka-0/+2
2016-09-11Revert part of 3471a3515827 that caused a performance regressionRaymond Hettinger-8/+44
2016-09-05Avoid inefficient way to call functions without argumentVictor Stinner-1/+1
2016-06-14- Modules/_collectionsmodule.c: Mark one more internal symbol as static.doko@ubuntu.com-1/+1
2016-05-18 - make some internal symbols staticdoko@ubuntu.com-1/+1
2016-03-06Issue #26482: Allowed pickling recursive dequeues.Serhiy Storchaka-18/+18
2016-03-04More logicial order. Move space saving step to just before it is used.Raymond Hettinger-14/+14
2016-03-02Factor-out common subexpression.Raymond Hettinger-3/+3
2016-03-02Put block length computations in a more logical order.Raymond Hettinger-2/+2
2016-02-08Issue #26200: The SETREF macro adds unnecessary work in some cases.Raymond Hettinger-1/+4
2016-02-01mergeRaymond Hettinger-5/+2
2016-01-26mergeRaymond Hettinger-0/+7
2016-01-26Issue #26194: Fix undefined behavior for deque.insert() when len(d) == maxlenRaymond Hettinger-0/+7
2016-01-24Convert another post-decrement while-loop to pre-decrement for consistencyRaymond Hettinger-1/+2
2016-01-24Convert two other post-decrement while-loops to pre-decrements for consistencyRaymond Hettinger-2/+4
2016-01-24Miscellaneous refactoringsRaymond Hettinger-65/+58
2016-01-01merge 3.5Benjamin Peterson-2/+0
2016-01-01merge 3.4Benjamin Peterson-2/+0
2016-01-01merge 3.3Benjamin Peterson-2/+0
2016-01-01remove some copyright notices supserseded by the toplevel onesBenjamin Peterson-2/+0
2015-12-27Issue #20440: Cleaning up the code by using Py_SETREF and Py_CLEAR.Serhiy Storchaka-4/+1
2015-12-19Issue #25421: __sizeof__ methods of builtin types now use dynamic basic size.Serhiy Storchaka-1/+1
2015-12-19Issue #25421: __sizeof__ methods of builtin types now use dynamic basic size.Serhiy Storchaka-1/+1
2015-11-03Neaten-up the inner-loop logic.Raymond Hettinger-3/+3
2015-11-02Minor cleanup.Raymond Hettinger-1/+1
2015-11-02mergeRaymond Hettinger-1/+1
2015-11-01Move the initial start-search out of the main loop so it can be factored-out ...Raymond Hettinger-16/+27
2015-11-02Issue #25523: Merge a-to-an corrections from 3.5Martin Panter-1/+1
2015-11-02Issue #25523: Further a-to-an corrections new in 3.5Martin Panter-1/+1
2015-10-22Removed unused parameterRaymond Hettinger-10/+10
2015-10-20Only update the state variable once per iteration.Raymond Hettinger-4/+8
2015-10-16Issue #25414: Remove unnecessary tests that can never succeed.Raymond Hettinger-15/+1
2015-10-15Remove old Todo entry that isn't going to happen.Raymond Hettinger-6/+0
2015-10-15Rewrap comment.Raymond Hettinger-4/+4
2015-10-14Use unsigned divisionRaymond Hettinger-1/+1
2015-10-14Improve variable names and constant expressionsRaymond Hettinger-9/+11
2015-10-11Minor fixup. maxlen is already known.Raymond Hettinger-2/+2
2015-10-11Refactor the deque trim logic to eliminate the two separate trim functions.Raymond Hettinger-25/+14
2015-10-11Hoist the deque->maxlen lookup out of the inner-loop.Raymond Hettinger-6/+10
2015-10-10Minor tweak. Make the maxlen comparisons a little more clear and consistent.Raymond Hettinger-6/+6
2015-10-06Backport early-out 91259f061cfb to reduce the cost of bb1a2944bcb6Raymond Hettinger-1/+5
2015-10-05Eliminate unnecessary testRaymond Hettinger-1/+1
2015-10-02Factor out common iterator finalization codeRaymond Hettinger-25/+20
2015-09-30Add fast paths to deque_init() for the common casesRaymond Hettinger-3/+10
2015-09-29Add an early-out for deque_clear()Raymond Hettinger-0/+3
2015-09-26Move the copy and clear functions upwards to eliminate unnecessary forward re...Raymond Hettinger-117/+113
2015-09-26Minor tweak to the order of variable updates.Raymond Hettinger-2/+2