53 Commits (90c8d06d687eed87fa61bf6bcc3a40beeaef39cd)

Author SHA1 Message Date
Benjamin Peterson 0e5c48a917 make deque_clear void, since it's infallible 13 years ago
Raymond Hettinger 464d89b3ce Issue #16398: Optimize deque.rotate() 13 years ago
Andrew Svetlov 6a5c7c341a Fix docstring for deque ctor to mark iterable parameter optional 13 years ago
Andrew Svetlov 227f59b29c Fix docstring for deque ctor to mark iterable parameter optional 13 years ago
Jesus Cea 16e2fca47e Closes #15469: Correct __sizeof__ support for deque 14 years ago
Jesus Cea d4e58dc966 Closes #15469: Correct __sizeof__ support for deque 14 years ago
Kristján Valur Jónsson 31668b8f7a Issue #14288: Serialization support for builtin iterators. 14 years ago
Antoine Pitrou c39cd783fb Issue #13015: Fix a possible reference leak in defaultdict.__repr__. 14 years ago
Antoine Pitrou f5f1fe0cb5 Issue #13015: Fix a possible reference leak in defaultdict.__repr__. 14 years ago
Martin v. Löwis bd928fef42 Rename _Py_identifier to _Py_IDENTIFIER. 14 years ago
Martin v. Löwis 1ee1b6fe0d Use identifier API for PyObject_GetAttrString. 15 years ago
Martin v. Löwis afe55bba33 Add API for static strings, primarily good for identifiers. 15 years ago
Brian Curtin dfc80e3d97 Replace Py_NotImplemented returns with the macro form Py_RETURN_NOTIMPLEMENTED. 15 years ago
Victor Stinner a154b5cea4 Simplify _count_elements() in _collections 15 years ago
Raymond Hettinger 4974705a02 Issue 11713: clarify docstring for collections.deque() 15 years ago
Raymond Hettinger d6c1d57195 Issue 11713: clarify docstring for collections.deque() 15 years ago
Raymond Hettinger db9d64b367 Issue 11713: clarify docstring for collections.deque() 15 years ago
Raymond Hettinger 57a8689b55 Issue 11004: Fix edge case for deque.count(). 15 years ago
Raymond Hettinger 512d2cc643 Issue #11004: Repair edge case in deque.count(). 15 years ago
Raymond Hettinger 426e052a4f Make C helper function more closely match the pure python version, and add tests. 15 years ago
Raymond Hettinger 96f3410ebe Issue 10667: Fast path for collections.Counter 15 years ago
Georg Brandl f038b32d0b Remove more unneeded casts to hashfunc. 16 years ago
Antoine Pitrou f72006f442 Merged revisions 84146-84147,84150 via svnmerge from 16 years ago
Antoine Pitrou 554f33407c Fix <deque iterator>.__length_hint__() under 64-bit Windows. 16 years ago
Antoine Pitrou 7f14f0d8a0 Recorded merge of revisions 81032 via svnmerge from 16 years ago
Antoine Pitrou f95a1b3c53 Recorded merge of revisions 81029 via svnmerge from 16 years ago
Antoine Pitrou c7c96a90bc Recorded merge of revisions 81029 via svnmerge from 16 years ago
Antoine Pitrou c83ea137d7 Untabify C files. Will watch buildbots. 16 years ago
Raymond Hettinger 44459debc6 Add count() method to collections.deque(). 16 years ago
Raymond Hettinger 5f516edd77 Add count() method to collections.deque(). 16 years ago
Raymond Hettinger a5fd24e97d Add a reverse() method to collections.deque(). 16 years ago
Raymond Hettinger 0b3263b073 Fix variants of deque.extend: d.extend(d) d+=d d.extendleft(d) 16 years ago
Raymond Hettinger 287bef46b7 Fix variants of deque.extend: d.extend(d) d+=d d.extendleft(d) 16 years ago
Raymond Hettinger 64eaa20c68 Fix variants of deque.extend: d.extend(d) d+=d d.extendleft(d) 16 years ago
Raymond Hettinger 3f9afd816d Fix variants of deque.extend: d.extend(d) d+=d d.extendleft(d) 16 years ago
Raymond Hettinger e5fdedbeda Add a reverse() method to collections.deque(). 16 years ago
Raymond Hettinger 54628fa7c0 Issue 6637: defaultdict.copy() failed with an empty factory. 17 years ago
Raymond Hettinger 99a13eeed1 Issue 6637: defaultdict.copy() failed with an empty factory. 17 years ago
Raymond Hettinger 8fdab95260 Issue 6637: defaultdict.copy() failed with an empty factory. 17 years ago
Raymond Hettinger d6119ef883 Issue 6637: defaultdict.copy() failed with an empty factory. 17 years ago
Raymond Hettinger 5bb0f0e072 For collections.deque() objects, expose the maxlen parameter as a read-only attribute. 17 years ago
Raymond Hettinger 56411aac79 For collections.deque() objects, expose the maxlen parameter as a read-only attribute. 17 years ago
Raymond Hettinger 060c7f6bba Small optimization for corner case where maxlen==0. 17 years ago
Raymond Hettinger bac769bb5e Small optimization for corner case where maxlen==0. 17 years ago
Mark Dickinson e94c679df0 Issue #1717: rename tp_compare to tp_reserved. I'll change the 17 years ago
Georg Brandl b1441c7e47 Merged revisions 68112,68115,68120,68133,68141-68142,68145-68146,68148-68149 via svnmerge from 17 years ago
Georg Brandl 734373cc4d Merged revisions 68133-68134,68141-68142,68145-68146,68148-68149,68159-68162,68166,68171-68174,68179,68195-68196,68210,68214-68215,68217-68222 via svnmerge from 17 years ago
Amaury Forgeot d'Arc 57eb0e90c1 #4801 _collections module fails to build on cygwin. 17 years ago
Georg Brandl 47fe9817f1 Merged revisions 67952-67953,67955,67957-67958,67960-67961,67963,67965,67967,67970-67971,67973,67982,67988,67990,67995,68014,68016,68030,68057,68061,68112,68115-68118,68120-68121,68123-68128 via svnmerge from 17 years ago
Antoine Pitrou 7ddda7830c Merged revisions 68128 via svnmerge from 17 years ago