summaryrefslogtreecommitdiffstats
path: root/Modules/_collectionsmodule.c
Commit message (Expand)AuthorAgeFilesLines
* Minor performance tweak for deque.index() with a start argument (GH-9440)Raymond Hettinger2018-09-211-2/+4
* closes bpo-31608: Fix a crash in methods of a subclass of _collections.deque ...Oren Milman2018-09-111-4/+13
* Factor-out two substantially identical code blocks. (GH-8219)Raymond Hettinger2018-07-101-46/+10
* bpo-33677: Fix signatures of tp_clear handlers for AST and deque. (GH-7196)Serhiy Storchaka2018-05-311-3/+4
* bpo-33012: Fix invalid function cast warnings with gcc 8 for METH_NOARGS. (GH...Siddhesh Poyarekar2018-04-291-13/+13
* bpo-32571: Avoid raising unneeded AttributeError and silencing it in C code ...Serhiy Storchaka2018-01-251-5/+3
* bpo-32240: Add the const qualifier to declarations of PyObject* array argumen...Serhiy Storchaka2017-12-151-3/+3
* bpo-31586: Use _count_element fast path for real dicts.Oren Milman2017-09-271-1/+3
* bpo-27541: Reprs of subclasses of some classes now contain actual type name. ...Serhiy Storchaka2017-09-211-4/+7
* Code clean-up. Remove unnecessary pre-increment before the loop starts. (#3312)Raymond Hettinger2017-09-041-17/+10
* bpo-31095: fix potential crash during GC (GH-2974)INADA Naoki2017-08-241-0/+4
* bpo-29464: Rename METH_FASTCALL to METH_FASTCALL|METH_KEYWORDS and make (#1955)Serhiy Storchaka2017-07-031-15/+3
* bpo-29935: Fixed error messages in the index() method of tuple, list and dequ...Serhiy Storchaka2017-03-301-2/+2
* bpo-29878: Add global instances of int for 0 and 1. (#852)Serhiy Storchaka2017-03-301-16/+4
* bpo-29634: Reduce deque repeat execution when maxlen exist and size is not 1 ...Louie Lu2017-02-241-0/+4
* Optimize deque index, insert and rotate() methodsVictor Stinner2017-02-061-11/+29
* Fix typoRaymond Hettinger2017-01-131-1/+1
* Issue #28858: Remove _PyObject_CallArg1() macroVictor Stinner2016-12-051-1/+2
* Replace PyObject_CallFunction() with fastcallVictor Stinner2016-12-011-1/+1
* Issue #28123: _PyDict_GetItem_KnownHash() now can raise an exception asSerhiy Storchaka2016-11-061-0/+2
* Revert part of 3471a3515827 that caused a performance regressionRaymond Hettinger2016-09-121-8/+44
* Avoid inefficient way to call functions without argumentVictor Stinner2016-09-061-1/+1
* - Modules/_collectionsmodule.c: Mark one more internal symbol as static.doko@ubuntu.com2016-06-141-1/+1
* - make some internal symbols staticdoko@ubuntu.com2016-05-171-1/+1
* Issue #26482: Allowed pickling recursive dequeues.Serhiy Storchaka2016-03-061-18/+18
* More logicial order. Move space saving step to just before it is used.Raymond Hettinger2016-03-041-14/+14
* Factor-out common subexpression.Raymond Hettinger2016-03-021-3/+3
* Put block length computations in a more logical order.Raymond Hettinger2016-03-021-2/+2
* Issue #26200: The SETREF macro adds unnecessary work in some cases.Raymond Hettinger2016-02-091-1/+4
* mergeRaymond Hettinger2016-02-021-5/+2
* mergeRaymond Hettinger2016-01-271-0/+7
|\
| * Issue #26194: Fix undefined behavior for deque.insert() when len(d) == maxlenRaymond Hettinger2016-01-271-0/+7
* | Convert another post-decrement while-loop to pre-decrement for consistencyRaymond Hettinger2016-01-241-1/+2
* | Convert two other post-decrement while-loops to pre-decrements for consistencyRaymond Hettinger2016-01-241-2/+4
* | Miscellaneous refactoringsRaymond Hettinger2016-01-241-65/+58
* | merge 3.5Benjamin Peterson2016-01-011-2/+0
|\ \ | |/
| * merge 3.4Benjamin Peterson2016-01-011-2/+0
| |\
| | * merge 3.3Benjamin Peterson2016-01-011-2/+0
| | |\
| | | * remove some copyright notices supserseded by the toplevel onesBenjamin Peterson2016-01-011-2/+0
* | | | Issue #20440: Cleaning up the code by using Py_SETREF and Py_CLEAR.Serhiy Storchaka2015-12-271-4/+1
* | | | Issue #25421: __sizeof__ methods of builtin types now use dynamic basic size.Serhiy Storchaka2015-12-191-1/+1
|\ \ \ \ | |/ / /
| * | | Issue #25421: __sizeof__ methods of builtin types now use dynamic basic size.Serhiy Storchaka2015-12-191-1/+1
* | | | Neaten-up the inner-loop logic.Raymond Hettinger2015-11-041-3/+3
* | | | Minor cleanup.Raymond Hettinger2015-11-021-1/+1
* | | | mergeRaymond Hettinger2015-11-021-1/+1
|\ \ \ \
| * \ \ \ Issue #25523: Merge a-to-an corrections from 3.5Martin Panter2015-11-021-1/+1
| |\ \ \ \ | | |/ / /
| | * | | Issue #25523: Further a-to-an corrections new in 3.5Martin Panter2015-11-021-1/+1
| | * | | Backport early-out 91259f061cfb to reduce the cost of bb1a2944bcb6Raymond Hettinger2015-10-071-1/+5
* | | | | Move the initial start-search out of the main loop so it can be factored-out ...Raymond Hettinger2015-11-021-16/+27
|/ / / /
* | | | Removed unused parameterRaymond Hettinger2015-10-231-10/+10