summaryrefslogtreecommitdiffstats
path: root/Lib/collections.py
Commit message (Collapse)AuthorAgeFilesLines
* Improve Counter.__repr__() to not fail with unorderable valuesRaymond Hettinger2011-11-051-2/+6
|
* Fix named tuples to work with vars().Raymond Hettinger2011-06-031-0/+2
|
* Backport 3.3 fixes and cleans ups.Raymond Hettinger2011-05-021-0/+3
|
* Backport code cleanup for namedtuples.Raymond Hettinger2011-05-021-54/+81
|
* Minor clean-ups to docstrings, comments, and var names.Raymond Hettinger2011-04-241-16/+21
|
* Minor text rearrangement.Raymond Hettinger2011-04-201-10/+10
|\
| * Minor text rearrangement.Raymond Hettinger2011-04-201-10/+10
| |
* | Issue #11875: Alter the previous fix to work better with subclassesRaymond Hettinger2011-04-201-1/+1
|\ \ | |/
| * Issue #11875: Alter the previous fix to work better with subclassesRaymond Hettinger2011-04-201-1/+1
| |
| * Hmm, __ne__ was missingRaymond Hettinger2011-04-191-0/+1
| |
| * Issue 11875: Keep OrderedDict's __reduce__ from temporarily mutating the object.Raymond Hettinger2011-04-191-3/+2
| |
* | Issue 11875: Keep OrderedDict's __reduce__ from temporarily mutating the object.Raymond Hettinger2011-04-191-3/+2
| |
* | Rework multiset methods to use less memory and to make fewer calls to __hash__.Raymond Hettinger2011-04-181-12/+19
|\ \ | |/
| * Rework multiset methods to use less memory and to make fewer calls to __hash__.Raymond Hettinger2011-04-181-12/+19
| |
* | Fix minor subclassing issue with collections.CounterRaymond Hettinger2011-04-151-2/+2
|\ \ | |/
| * Fix minor subclassing issue with collections.CounterRaymond Hettinger2011-04-151-2/+2
| |
| * Backport r87613 to make OrderedDict subclassing match dict subclassing.Raymond Hettinger2011-01-041-5/+21
| |
| * Backport r87672 and r87615, improving tests, using super() instead of direct ↵Raymond Hettinger2011-01-031-11/+15
| | | | | | | | parent references, and using __reduce__ method for pickling.
| * Issue #9826: Handle recursive repr in collections.OrderedDict.Raymond Hettinger2010-09-121-4/+12
| |
| * Issue 6370: Performance issue with collections.Counter().Raymond Hettinger2009-06-291-2/+4
| |
* | Add tests for the collections helper class and sync-up with py3k branch.Raymond Hettinger2011-02-231-0/+9
| |
* | Issue #11089: Fix performance issue limiting the use of ConfigParser()Raymond Hettinger2011-02-211-0/+91
| | | | | | | | with large config files.
* | Supply a reduce method for pickling.Raymond Hettinger2011-01-031-0/+3
| |
* | Fix doctest to not rely on order of dictionary entries.Raymond Hettinger2011-01-021-11/+12
| | | | | | | | Use super() instead of direct references to the dict superclass.
* | Fix OrderedDic.pop() to work for subclasses that define __missing__().Raymond Hettinger2011-01-011-2/+12
| |
* | Make it easier to extend OrderedDict without breaking it.Raymond Hettinger2011-01-011-2/+2
| |
* | Fix OrderedDict.setdefault() to work for subclasses that define __missing__().Raymond Hettinger2010-12-311-1/+7
| |
* | Issue 10667: Fast path for collections.CounterRaymond Hettinger2010-12-151-3/+12
| |
* | Issue 9865: add __sizeof__ to OrderedDict.Raymond Hettinger2010-09-161-11/+20
| |
* | Remove unneeded exception chaining.Raymond Hettinger2010-09-161-1/+1
| |
* | Improve iteration speed by only proxying back links.Raymond Hettinger2010-09-141-6/+9
| | | | | | | | | | | | The forward links are hard references. The sentinel element is also a weakref proxy (to break a forward cylce wrapping around the sentinel).
* | Issue 9840: Add reprlib.recursive_repr(), a decorator for handling ↵Raymond Hettinger2010-09-131-12/+6
| | | | | | | | recursive calls to __repr__ methods.
* | Put tests in more logical order.Raymond Hettinger2010-09-121-2/+2
| |
* | Use weakrefs for both forward and backward links.Raymond Hettinger2010-09-121-3/+4
| |
* | Issue #9826: Handle recursive repr in collections.OrderedDict.Raymond Hettinger2010-09-121-4/+12
| |
* | Issue #9825: Replace OrderedDict.__del__() with weakrefs.Raymond Hettinger2010-09-121-69/+68
| |
* | Revert r84700 which had an unfortunate performance cost.Raymond Hettinger2010-09-111-6/+6
| |
* | Separate positional arguments from localized globals.Raymond Hettinger2010-09-111-6/+6
| |
* | Add method to OrderedDict for repositioning keys to the ends.Raymond Hettinger2010-09-061-6/+17
| |
* | Better method name. Tighten inner-loop with bound methods.Raymond Hettinger2010-09-021-1/+1
| |
* | Make OrderedDict.popitem() a bit smarter and fasterRaymond Hettinger2010-09-021-11/+23
| |
* | Speed-up cache updatesRaymond Hettinger2010-09-021-0/+13
| |
* | Issue #9507: Named tuple repr will now automatically display the rightRaymond Hettinger2010-08-081-1/+1
| | | | | | | | name in a tuple subclass.
* | Update OrderedDict implementation to match that in Py2.7.Raymond Hettinger2010-08-011-41/+37
| |
* | Minor factoringRaymond Hettinger2010-04-111-2/+1
| |
* | Add a subtract() method to collections.Counter()Raymond Hettinger2010-04-031-0/+28
| |
* | Add nice docstrings to namedtuples.Raymond Hettinger2010-04-021-1/+4
| |
* | Merged revisions 77241 via svnmerge fromAntoine Pitrou2010-01-021-0/+2
| | | | | | | | | | | | | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r77241 | antoine.pitrou | 2010-01-02 22:12:58 +0100 (sam., 02 janv. 2010) | 4 lines Issue #7462: Implement the stringlib fast search algorithm for the `rfind`, `rindex`, `rsplit` and `rpartition` methods. Patch by Florent Xicluna. ........
* | Issue 6370: Performance issue with collections.Counter().Raymond Hettinger2009-06-291-2/+4
|/
* Fix field name conflicts for named tuples.Raymond Hettinger2009-05-271-7/+7
|