104 Commits (0f6ce8d9dfaaeca036a085ef8de252efa8a2beea)

Author SHA1 Message Date
Raymond Hettinger eaac4f0d30 Issue 13870: Fix out of date comment. 15 years ago
Raymond Hettinger 4e6bf41934 Improve Counter.__repr__() to not fail with unorderable values 15 years ago
Raymond Hettinger 3d89057ff8 Fix named tuples to work with vars(). 15 years ago
Raymond Hettinger a5ac2ce982 Backport 3.3 fixes and cleans ups. 15 years ago
Raymond Hettinger 81b9656989 Backport code cleanup for namedtuples. 15 years ago
Raymond Hettinger 5db3e0167d Minor clean-ups to docstrings, comments, and var names. 15 years ago
Raymond Hettinger fc330aeb6f Minor text rearrangement. 15 years ago
Raymond Hettinger d07eaf177c Issue #11875: Alter the previous fix to work better with subclasses 15 years ago
Raymond Hettinger 019a97c77c Issue 11875: Keep OrderedDict's __reduce__ from temporarily mutating the object. 15 years ago
Raymond Hettinger ab69438046 Hmm, __ne__ was missing 15 years ago
Raymond Hettinger d08a2c2576 Issue 11875: Keep OrderedDict's __reduce__ from temporarily mutating the object. 15 years ago
Raymond Hettinger 2876a8c272 Rework multiset methods to use less memory and to make fewer calls to __hash__. 15 years ago
Raymond Hettinger 1c746c28f3 Fix minor subclassing issue with collections.Counter 15 years ago
Raymond Hettinger dcb29c93d2 Add tests for the collections helper class and sync-up with py3k branch. 16 years ago
Raymond Hettinger e66036063b Issue #11089: Fix performance issue limiting the use of ConfigParser() 16 years ago
Raymond Hettinger 1d879f6852 Backport r87613 to make OrderedDict subclassing match dict subclassing. 16 years ago
Raymond Hettinger 8dfb9288af Backport r87672 and r87615, improving tests, using super() instead of direct parent references, and using __reduce__ method for pickling. 16 years ago
Raymond Hettinger ff72816b5f Supply a reduce method for pickling. 16 years ago
Raymond Hettinger 00d43fd056 Fix doctest to not rely on order of dictionary entries. 16 years ago
Raymond Hettinger 345c49b16b Fix OrderedDic.pop() to work for subclasses that define __missing__(). 16 years ago
Raymond Hettinger 32062e9be7 Make it easier to extend OrderedDict without breaking it. 16 years ago
Raymond Hettinger a673b1fd0e Fix OrderedDict.setdefault() to work for subclasses that define __missing__(). 16 years ago
Raymond Hettinger 96f3410ebe Issue 10667: Fast path for collections.Counter 16 years ago
Raymond Hettinger 35c87f2b8e Issue 9865: add __sizeof__ to OrderedDict. 16 years ago
Raymond Hettinger c1cc0d08d4 Remove unneeded exception chaining. 16 years ago
Raymond Hettinger f7328d026b Improve iteration speed by only proxying back links. 16 years ago
Raymond Hettinger 98a5f3f838 Issue 9840: Add reprlib.recursive_repr(), a decorator for handling recursive calls to __repr__ methods. 16 years ago
Raymond Hettinger f1725296cc Put tests in more logical order. 16 years ago
Raymond Hettinger c5c29c0ac0 Use weakrefs for both forward and backward links. 16 years ago
Raymond Hettinger 69976a7fbe Issue #9826: Handle recursive repr in collections.OrderedDict. 16 years ago
Raymond Hettinger dc08a143e0 Issue #9826: Handle recursive repr in collections.OrderedDict. 16 years ago
Raymond Hettinger fa11db0a02 Issue #9825: Replace OrderedDict.__del__() with weakrefs. 16 years ago
Raymond Hettinger bd88802c1f Revert r84700 which had an unfortunate performance cost. 16 years ago
Raymond Hettinger 22b46e0ba9 Separate positional arguments from localized globals. 16 years ago
Raymond Hettinger f45abc97bf Add method to OrderedDict for repositioning keys to the ends. 16 years ago
Raymond Hettinger 7babc1b6a5 Better method name. Tighten inner-loop with bound methods. 16 years ago
Raymond Hettinger 331722d411 Make OrderedDict.popitem() a bit smarter and faster 16 years ago
Raymond Hettinger 38d17e3df0 Speed-up cache updates 16 years ago
Raymond Hettinger d331ce9e66 Issue #9507: Named tuple repr will now automatically display the right 16 years ago
Raymond Hettinger 5be21b7a5a Update OrderedDict implementation to match that in Py2.7. 16 years ago
Raymond Hettinger fc3c9cd793 Minor factoring 16 years ago
Raymond Hettinger 9c01e441bb Add a subtract() method to collections.Counter() 16 years ago
Raymond Hettinger 7b0d3c6d4b Add nice docstrings to namedtuples. 16 years ago
Antoine Pitrou da2ecaf334 Merged revisions 77241 via svnmerge from 17 years ago
Raymond Hettinger 77b31ef202 Issue 6370: Performance issue with collections.Counter(). 17 years ago
Raymond Hettinger f909202c11 Issue 6370: Performance issue with collections.Counter(). 17 years ago
Raymond Hettinger 089ba7f690 Fix field name conflicts for named tuples. 17 years ago
Benjamin Peterson 25c95f1298 Merged revisions 70768,71657,71721,71729,71794,71976,72036-72037,72079,72085,72131-72134,72191,72197-72198,72219,72221,72225,72303,72434,72467,72476 via svnmerge from 17 years ago
Raymond Hettinger 446a4f2330 Minor factoring. 17 years ago
Raymond Hettinger 2352cf3519 Typo. 17 years ago