Raymond Hettinger
|
eaac4f0d30
|
Issue 13870: Fix out of date comment.
|
2012-01-26 00:14:16 -08:00 |
Raymond Hettinger
|
4e6bf41934
|
Improve Counter.__repr__() to not fail with unorderable values
|
2011-11-05 13:35:26 -07:00 |
Raymond Hettinger
|
3d89057ff8
|
Fix named tuples to work with vars().
|
2011-06-02 23:40:24 -07:00 |
Raymond Hettinger
|
a5ac2ce982
|
Backport 3.3 fixes and cleans ups.
|
2011-05-02 11:02:13 -07:00 |
Raymond Hettinger
|
81b9656989
|
Backport code cleanup for namedtuples.
|
2011-05-02 09:50:15 -07:00 |
Raymond Hettinger
|
5db3e0167d
|
Minor clean-ups to docstrings, comments, and var names.
|
2011-04-24 14:26:08 -07:00 |
Raymond Hettinger
|
296d6d0cd6
|
Minor text rearrangement.
|
2011-04-20 13:08:40 -07:00 |
Raymond Hettinger
|
fc330aeb6f
|
Minor text rearrangement.
|
2011-04-20 13:03:49 -07:00 |
Raymond Hettinger
|
25458f155a
|
Issue #11875: Alter the previous fix to work better with subclasses
|
2011-04-19 17:17:51 -07:00 |
Raymond Hettinger
|
d07eaf177c
|
Issue #11875: Alter the previous fix to work better with subclasses
|
2011-04-19 17:17:23 -07:00 |
Raymond Hettinger
|
019a97c77c
|
Issue 11875: Keep OrderedDict's __reduce__ from temporarily mutating the object.
|
2011-04-19 10:21:27 -07:00 |
Raymond Hettinger
|
ab69438046
|
Hmm, __ne__ was missing
|
2011-04-19 10:05:53 -07:00 |
Raymond Hettinger
|
d08a2c2576
|
Issue 11875: Keep OrderedDict's __reduce__ from temporarily mutating the object.
|
2011-04-19 10:05:03 -07:00 |
Raymond Hettinger
|
c15d9e759f
|
Rework multiset methods to use less memory and to make fewer calls to __hash__.
|
2011-04-17 19:47:24 -07:00 |
Raymond Hettinger
|
2876a8c272
|
Rework multiset methods to use less memory and to make fewer calls to __hash__.
|
2011-04-17 19:46:46 -07:00 |
Raymond Hettinger
|
6c9e5b779f
|
Fix minor subclassing issue with collections.Counter
|
2011-04-15 13:21:30 -07:00 |
Raymond Hettinger
|
1c746c28f3
|
Fix minor subclassing issue with collections.Counter
|
2011-04-15 13:16:46 -07:00 |
Raymond Hettinger
|
dcb29c93d2
|
Add tests for the collections helper class and sync-up with py3k branch.
|
2011-02-23 08:28:06 +00:00 |
Raymond Hettinger
|
e66036063b
|
Issue #11089: Fix performance issue limiting the use of ConfigParser()
with large config files.
|
2011-02-21 19:38:53 +00:00 |
Raymond Hettinger
|
1d879f6852
|
Backport r87613 to make OrderedDict subclassing match dict subclassing.
|
2011-01-04 20:57:19 +00:00 |
Raymond Hettinger
|
8dfb9288af
|
Backport r87672 and r87615, improving tests, using super() instead of direct parent references, and using __reduce__ method for pickling.
|
2011-01-03 08:50:48 +00:00 |
Raymond Hettinger
|
ff72816b5f
|
Supply a reduce method for pickling.
|
2011-01-03 02:44:14 +00:00 |
Raymond Hettinger
|
00d43fd056
|
Fix doctest to not rely on order of dictionary entries.
Use super() instead of direct references to the dict superclass.
|
2011-01-02 08:03:33 +00:00 |
Raymond Hettinger
|
345c49b16b
|
Fix OrderedDic.pop() to work for subclasses that define __missing__().
|
2011-01-01 23:51:55 +00:00 |
Raymond Hettinger
|
32062e9be7
|
Make it easier to extend OrderedDict without breaking it.
|
2011-01-01 22:38:00 +00:00 |
Raymond Hettinger
|
a673b1fd0e
|
Fix OrderedDict.setdefault() to work for subclasses that define __missing__().
|
2010-12-31 23:16:17 +00:00 |
Raymond Hettinger
|
96f3410ebe
|
Issue 10667: Fast path for collections.Counter
|
2010-12-15 16:30:37 +00:00 |
Raymond Hettinger
|
35c87f2b8e
|
Issue 9865: add __sizeof__ to OrderedDict.
|
2010-09-16 19:10:17 +00:00 |
Raymond Hettinger
|
c1cc0d08d4
|
Remove unneeded exception chaining.
|
2010-09-16 08:06:05 +00:00 |
Raymond Hettinger
|
f7328d026b
|
Improve iteration speed by only proxying back links.
The forward links are hard references.
The sentinel element is also a weakref proxy
(to break a forward cylce wrapping around the sentinel).
|
2010-09-14 19:40:15 +00:00 |
Raymond Hettinger
|
98a5f3f838
|
Issue 9840: Add reprlib.recursive_repr(), a decorator for handling recursive calls to __repr__ methods.
|
2010-09-13 21:36:00 +00:00 |
Raymond Hettinger
|
f1725296cc
|
Put tests in more logical order.
|
2010-09-12 18:16:01 +00:00 |
Raymond Hettinger
|
c5c29c0ac0
|
Use weakrefs for both forward and backward links.
|
2010-09-12 18:13:46 +00:00 |
Raymond Hettinger
|
69976a7fbe
|
Issue #9826: Handle recursive repr in collections.OrderedDict.
|
2010-09-12 05:28:42 +00:00 |
Raymond Hettinger
|
dc08a143e0
|
Issue #9826: Handle recursive repr in collections.OrderedDict.
|
2010-09-12 05:15:22 +00:00 |
Raymond Hettinger
|
fa11db0a02
|
Issue #9825: Replace OrderedDict.__del__() with weakrefs.
|
2010-09-12 04:12:42 +00:00 |
Raymond Hettinger
|
bd88802c1f
|
Revert r84700 which had an unfortunate performance cost.
|
2010-09-11 08:07:42 +00:00 |
Raymond Hettinger
|
22b46e0ba9
|
Separate positional arguments from localized globals.
|
2010-09-11 00:05:44 +00:00 |
Raymond Hettinger
|
f45abc97bf
|
Add method to OrderedDict for repositioning keys to the ends.
|
2010-09-06 21:26:09 +00:00 |
Raymond Hettinger
|
7babc1b6a5
|
Better method name. Tighten inner-loop with bound methods.
|
2010-09-02 19:56:28 +00:00 |
Raymond Hettinger
|
331722d411
|
Make OrderedDict.popitem() a bit smarter and faster
|
2010-09-02 18:44:16 +00:00 |
Raymond Hettinger
|
38d17e3df0
|
Speed-up cache updates
|
2010-09-02 09:44:28 +00:00 |
Raymond Hettinger
|
d331ce9e66
|
Issue #9507: Named tuple repr will now automatically display the right
name in a tuple subclass.
|
2010-08-08 01:13:42 +00:00 |
Raymond Hettinger
|
5be21b7a5a
|
Update OrderedDict implementation to match that in Py2.7.
|
2010-08-01 22:10:57 +00:00 |
Raymond Hettinger
|
fc3c9cd793
|
Minor factoring
|
2010-04-11 20:41:56 +00:00 |
Raymond Hettinger
|
9c01e441bb
|
Add a subtract() method to collections.Counter()
|
2010-04-03 10:32:58 +00:00 |
Raymond Hettinger
|
7b0d3c6d4b
|
Add nice docstrings to namedtuples.
|
2010-04-02 18:54:02 +00:00 |
Antoine Pitrou
|
da2ecaf334
|
Merged revisions 77241 via svnmerge from
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.
........
|
2010-01-02 21:40:36 +00:00 |
Raymond Hettinger
|
77b31ef202
|
Issue 6370: Performance issue with collections.Counter().
|
2009-06-29 18:34:46 +00:00 |
Raymond Hettinger
|
f909202c11
|
Issue 6370: Performance issue with collections.Counter().
|
2009-06-29 18:30:43 +00:00 |