summaryrefslogtreecommitdiff
path: root/Modules/_collectionsmodule.c
AgeCommit message (Expand)AuthorLines
2018-11-27bpo-33012: Fix signatures of METH_NOARGS functions. (GH-10736) (GH-10748)Serhiy Storchaka-1/+1
2018-11-27bpo-33029: Fix signatures of getter and setter functions. (GH-10746)Miss Islington (bot)-1/+1
2018-09-11closes bpo-31608: Fix a crash in methods of a subclass of _collections.deque ...Miss Islington (bot)-4/+13
2018-05-30bpo-33677: Fix signatures of tp_clear handlers for AST and deque. (GH-7196)Miss Islington (bot)-3/+4
2018-01-25 bpo-32571: Avoid raising unneeded AttributeError and silencing it in C code ...Serhiy Storchaka-5/+3
2017-12-15bpo-32240: Add the const qualifier to declarations of PyObject* array argumen...Serhiy Storchaka-3/+3
2017-09-26bpo-31586: Use _count_element fast path for real dicts.Oren Milman-1/+3
2017-09-21bpo-27541: Reprs of subclasses of some classes now contain actual type name. ...Serhiy Storchaka-4/+7
2017-09-04Code clean-up. Remove unnecessary pre-increment before the loop starts. (#3312)Raymond Hettinger-17/+10
2017-08-24bpo-31095: fix potential crash during GC (GH-2974)INADA Naoki-0/+4
2017-07-03bpo-29464: Rename METH_FASTCALL to METH_FASTCALL|METH_KEYWORDS and make (#1955)Serhiy Storchaka-15/+3
2017-03-30bpo-29935: Fixed error messages in the index() method of tuple, list and dequ...Serhiy Storchaka-2/+2
2017-03-30bpo-29878: Add global instances of int for 0 and 1. (#852)Serhiy Storchaka-16/+4
2017-02-23bpo-29634: Reduce deque repeat execution when maxlen exist and size is not 1 ...Louie Lu-0/+4
2017-02-06Optimize deque index, insert and rotate() methodsVictor Stinner-11/+29
2017-01-12Fix typoRaymond Hettinger-1/+1
2016-12-05Issue #28858: Remove _PyObject_CallArg1() macroVictor Stinner-1/+2
2016-12-01Replace PyObject_CallFunction() with fastcallVictor Stinner-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