summaryrefslogtreecommitdiff
path: root/Modules/_collectionsmodule.c
AgeCommit message (Expand)AuthorLines
2018-09-11[2.7] closes bpo-31608: Fix a crash in methods of a subclass of _collections....Benjamin Peterson-2/+11
2018-05-31[2.7] bpo-33677: Fix the signature of tp_clear handler for deque. (GH-7196). ...Serhiy Storchaka-3/+4
2017-09-04bpo-31095: Fix potential crash during GC (GH-3197)INADA Naoki-0/+4
2016-01-01remove some copyright notices supserseded by the toplevel onesBenjamin Peterson-2/+0
2015-12-19Issue #25421: __sizeof__ methods of builtin types now use dynamic basic size.Serhiy Storchaka-1/+1
2015-11-12Second instance of deque needing "len" instead of "Py_SIZE" in Py2.7Raymond Hettinger-1/+1
2015-11-12Deque uses "len" instead of varhead in Py2.7Raymond Hettinger-1/+1
2015-10-06Backport early-out 91259f061cfb to reduce the cost of bb1a2944bcb6Raymond Hettinger-1/+5
2015-09-26Issue #25135: Avoid possible reentrancy issues in deque_clear.Raymond Hettinger-3/+57
2015-07-20Issue #19663: Improve error message for defaultdict.Raymond Hettinger-1/+1
2015-05-15deque is not varsized, so using Py_SIZE is nonsensical (closes #24162)Benjamin Peterson-1/+1
2015-05-02Defer deleted item decref until after the deque is restored to a consistent s...Raymond Hettinger-7/+7
2014-01-13correct defaultdict signature in docstring (closes #20250)Benjamin Peterson-1/+3
2013-07-28Restore the data block size to 62.Raymond Hettinger-3/+6
2013-07-16Backport c952f3d122ae: Tweak the deque struct by moving the least used fieldsRaymond Hettinger-1/+1
2013-07-16Move the leftlink to the end of the block structure.Raymond Hettinger-1/+1
2013-06-25reapply f1dc30a1be72Benjamin Peterson-1/+1
2013-06-25reapply 5accb0ac8bfbBenjamin Peterson-11/+7
2013-06-25reapply f1dc30a1be72Benjamin Peterson-1/+1
2013-06-25reapply f1dc30a1be72Benjamin Peterson-1/+1
2013-06-23also backout f1dc30a1be72 for not being a bugfixBenjamin Peterson-1/+1
2013-06-22backout 5accb0ac8bfb; needs more discussion on python-devBenjamin Peterson-7/+11
2013-06-22Arrange structure to match the common access patterns.Raymond Hettinger-1/+1
2013-06-14Fix comment blocks. Adjust blocksize to a power-of-two for better divmod com...Raymond Hettinger-11/+7
2013-02-09Minor cleanups.Raymond Hettinger-19/+19
2013-02-02Issue 16398: Use memcpy() in deque.rotate().Raymond Hettinger-50/+60
2013-01-12make deque_clear void, since it's infallibleBenjamin Peterson-6/+2
2013-01-12Issue #16398: Optimize deque.rotate()Raymond Hettinger-14/+58
2012-10-31Fix docstring for deque ctor to mark iterable parameter optionalAndrew Svetlov-1/+1
2012-08-03Closes #15469: Correct __sizeof__ support for dequeJesus Cea-1/+20
2012-02-15Issue #13015: Fix a possible reference leak in defaultdict.__repr__.Antoine Pitrou-1/+3
2011-03-29Issue 11713: clarify docstring for collections.deque()Raymond Hettinger-1/+1
2011-01-25Issue 11004: Fix edge case for deque.count().Raymond Hettinger-4/+7
2010-05-09Untabify C files. Will watch buildbots.Antoine Pitrou-1121/+1121
2010-04-03Add count() method to collections.deque().Raymond Hettinger-0/+42
2009-12-10Add a reverse() method to collections.deque().Raymond Hettinger-0/+44
2009-12-10Fix variants of deque.extend: d.extend(d) d+=d d.extendleft(d)Raymond Hettinger-0/+40
2009-08-04Issue 6637: defaultdict.copy() failed with an empty factory.Raymond Hettinger-1/+4
2009-03-10For collections.deque() objects, expose the maxlen parameter as a read-only a...Raymond Hettinger-1/+15
2009-03-10Small optimization for corner case where maxlen==0.Raymond Hettinger-0/+23
2009-01-02#4801 _collections module fails to build on cygwin.Amaury Forgeot d'Arc-2/+2
2009-01-01Issue #3680: Reference cycles created through a dict, set or deque iterator d...Antoine Pitrou-7/+16
2008-09-10#3743: PY_FORMAT_SIZE_T is designed for the OS "printf" functions, not forAmaury Forgeot d'Arc-1/+1
2008-08-22d is the correct format stringChristian Heimes-1/+1
2008-08-22Fixed two format strings in the _collections module. For exampleChristian Heimes-2/+2
2008-07-24Parse to the correct datatype.Raymond Hettinger-1/+1
2008-07-24Finish-up the partial conversion from int to Py_ssize_t for deque indices and...Raymond Hettinger-23/+24
2008-07-15Issue 2235: __hash__ is once again inherited by default, but inheritance can ...Nick Coghlan-8/+1
2008-06-13Make more symbols static.Martin v. Löwis-5/+5
2008-06-09This reverts r63675 based on the discussion in this thread:Gregory P. Smith-9/+9