summaryrefslogtreecommitdiff
path: root/Modules/_collectionsmodule.c
AgeCommit message (Expand)AuthorLines
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
2008-05-26Renamed PyString to PyBytesChristian Heimes-9/+9
2008-02-12dict.copy() rises from the ashes. Revert r60687.Raymond Hettinger-12/+2
2008-02-09Add -3 warnings that set.copy(), dict.copy(), and defaultdict.copy() will go ...Raymond Hettinger-2/+12
2008-02-08issue 2045: Infinite recursion when printing a subclass of defaultdict,Amaury Forgeot d'Arc-1/+11
2007-12-19#1629: Renamed Py_Size, Py_Type and Py_Refcnt to Py_SIZE, Py_TYPE and Py_REFC...Christian Heimes-10/+10
2007-12-13Fix bug 1604. deque.__init__() did not clear existing contents like list.__in...Raymond Hettinger-0/+1
2007-11-10Use a freelist to speed-up block allocation and deallocation in collections.d...Raymond Hettinger-7/+27
2007-10-10Accept Jim Jewett's api suggestion to use None instead of -1 to indicate unbo...Raymond Hettinger-10/+26
2007-10-05Restore BEGIN/END THREADS macros which were squashed in the previous checkinRaymond Hettinger-5/+21
2007-10-05dict could be NULL, so we need to XDECREF.Neal Norwitz-2/+2
2007-10-05Add __asdict__() to NamedTuple and refine the docs.Raymond Hettinger-85/+101
2007-09-17Add a bunch of GIL release/acquire points in tp_print implementations and forBrett Cannon-1/+18
2007-07-21PEP 3123: Provide forward compatibility with Python 3.0, while keepingMartin v. Löwis-14/+10
2007-03-06Fix another reincarnation of bug #1576657 in defaultdict.Georg Brandl-2/+6
2007-02-28Prepare collections module for pure python code entries.Raymond Hettinger-0/+1366