Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Fix named tuples to work with vars(). | Raymond Hettinger | 2011-06-03 | 1 | -0/+1 |
| | |||||
* | Other minor clean-ups. | Raymond Hettinger | 2011-04-24 | 1 | -8/+15 |
| | |||||
* | Remove unused branch in the clear() method. Minor comment edits. | Raymond Hettinger | 2011-04-24 | 1 | -18/+15 |
| | |||||
* | Minor code clean-up. | Raymond Hettinger | 2011-04-24 | 1 | -1/+2 |
| | |||||
* | Remove unused imports | Raymond Hettinger | 2011-04-24 | 1 | -3/+3 |
| | |||||
* | Minor code simplification. | Raymond Hettinger | 2011-04-23 | 1 | -15/+15 |
| | |||||
* | Minor code simplification. | Raymond Hettinger | 2011-04-23 | 1 | -4/+2 |
| | |||||
* | Cleanups to remove dependencies and add docstrings. | Raymond Hettinger | 2011-04-23 | 1 | -38/+49 |
| | |||||
* | Minor text rearrangement. | Raymond Hettinger | 2011-04-20 | 1 | -10/+10 |
| | |||||
* | Issue #11875: Alter the previous fix to work better with subclasses | Raymond Hettinger | 2011-04-19 | 1 | -1/+1 |
| | |||||
* | Use a generic class lookup. | Raymond Hettinger | 2011-04-19 | 1 | -1/+1 |
| | |||||
* | Issue 11875: Keep OrderedDict's __reduce__ from temporarily mutating the object. | Raymond Hettinger | 2011-04-19 | 1 | -3/+2 |
| | |||||
* | Rework multiset methods to use less memory and to make fewer calls to __hash__. | Raymond Hettinger | 2011-04-18 | 1 | -12/+19 |
| | |||||
* | Fix minor subclassing issue with collections.Counter | Raymond Hettinger | 2011-04-15 | 1 | -2/+2 |
| | |||||
* | Backport r87672 and r87615, improving tests, using super() instead of direct ↵ | Raymond Hettinger | 2011-01-03 | 1 | -11/+15 |
| | | | | parent references, and using __reduce__ method for pickling. | ||||
* | Raymond-Hettingers-MacBook-Pro:py27 raymondhettinger$ cat svn-commit.tmp | Raymond Hettinger | 2011-01-02 | 1 | -5/+21 |
| | | | | | | Backport r87594 r87611 and r87612 so that OrderedDict subclassing behavior better matches dict subclassing (i.e. adding __missing__ works and extending/overriding the update() methods doesn't break __init__()). | ||||
* | Backport part of r86217: Fix issues when building without threads | Amaury Forgeot d'Arc | 2010-11-09 | 1 | -1/+1 |
| | |||||
* | Issue 9826: OrderedDict.__repr__ did not play well with self-referencing dicts. | Raymond Hettinger | 2010-09-13 | 1 | -0/+27 |
| | |||||
* | Issue #9825: Remove __del__() from OrderedDict. | Raymond Hettinger | 2010-09-12 | 1 | -3/+0 |
| | |||||
* | Issue #9626: Fix views in collections.OrderedDict(). | Raymond Hettinger | 2010-08-17 | 1 | -0/+12 |
| | |||||
* | Minor factoring | Raymond Hettinger | 2010-04-11 | 1 | -2/+1 |
| | |||||
* | Add subtract() method to collections.Counter() objects. | Raymond Hettinger | 2010-04-03 | 1 | -0/+28 |
| | |||||
* | Factor-out constant expressions | Raymond Hettinger | 2010-04-03 | 1 | -14/+6 |
| | |||||
* | Improve clear() method. Keeps key/value refcnts >= 1 until final ↵ | Raymond Hettinger | 2010-04-03 | 1 | -2/+8 |
| | | | | dict.clear() so that decrefs to zero won't trigger arbitrary code . Also runs a bit faster. | ||||
* | Clear cyclical references in list based OrderedDict. | Raymond Hettinger | 2010-04-03 | 1 | -3/+11 |
| | |||||
* | Improve code clarity a bit. | Raymond Hettinger | 2010-03-09 | 1 | -5/+10 |
| | |||||
* | Have links in OrderedDicts be native Python lists instead | Raymond Hettinger | 2010-03-09 | 1 | -28/+19 |
| | | | | | | of a custom class with __slots__. This simplifies the code a bit, reduces memory consumption, improves speed, and eliminates the need for weak reference proxies. | ||||
* | Add nicer docstrings to namedtuples(). | Raymond Hettinger | 2010-03-09 | 1 | -1/+4 |
| | | | | Provides better tooltips and looks better in help(). | ||||
* | Remove unused import. | Georg Brandl | 2010-02-06 | 1 | -1/+1 |
| | |||||
* | Issue 6370: Performance issue with collections.Counter(). | Raymond Hettinger | 2009-06-29 | 1 | -2/+4 |
| | |||||
* | Revert r73401 per Raymond Hettinger's request. | Alexandre Vassalotti | 2009-06-12 | 1 | -6/+4 |
| | | | | | | The rational is the change might cause imcompatiblity problems with PyYAML. In addition, Raymond wants to kept the different versions of collections synchronized across Python versions. | ||||
* | Make pickling of OrderedDict instances more efficient. | Alexandre Vassalotti | 2009-06-12 | 1 | -4/+6 |
| | |||||
* | Fix field name conflicts for named tuples. | Raymond Hettinger | 2009-05-27 | 1 | -7/+7 |
| | |||||
* | using sys._getframe(x), where x > 0 doesnt' work on IronPython | Benjamin Peterson | 2009-05-05 | 1 | -2/+5 |
| | |||||
* | Minor factoring. | Raymond Hettinger | 2009-04-08 | 1 | -1/+1 |
| | |||||
* | Add docstrings. | Raymond Hettinger | 2009-04-08 | 1 | -0/+25 |
| | |||||
* | Replace the localized min/max calls with normal if/else | Raymond Hettinger | 2009-04-04 | 1 | -4/+4 |
| | |||||
* | Have namedtuple's field renamer assign names that | Raymond Hettinger | 2009-04-02 | 1 | -1/+1 |
| | | | | are consistent with the corresponding tuple index. | ||||
* | Separate initialization from clearing. | Raymond Hettinger | 2009-03-25 | 1 | -3/+4 |
| | |||||
* | Make imported name private and wrap long-line. | Raymond Hettinger | 2009-03-23 | 1 | -3/+4 |
| | |||||
* | Move initialization of root link to __init__. | Raymond Hettinger | 2009-03-23 | 1 | -1/+2 |
| | |||||
* | Add more comments. Improve variable names. | Raymond Hettinger | 2009-03-23 | 1 | -32/+44 |
| | | | | | | Make links clearer by using a Link object instead of a list. Use proxy links to avoid circular references. | ||||
* | Fix typo | Raymond Hettinger | 2009-03-19 | 1 | -2/+2 |
| | |||||
* | * Add implementation notes. | Raymond Hettinger | 2009-03-19 | 1 | -13/+25 |
| | | | | | * Re-order methods so that those touching the underlying data structure come first and the derived methods come last. | ||||
* | * Add clearer comment to initialization code. | Raymond Hettinger | 2009-03-19 | 1 | -3/+3 |
| | | | | | | * Add optional argument to popitem() -- modeled after Anthon van der Neut's C version. * Fix method markup in docs. | ||||
* | Improve implementation with better underlying data structure | Raymond Hettinger | 2009-03-19 | 1 | -14/+26 |
| | | | | | | for O(1) deletions. Big-Oh performance now the same as regular dictionaries. Uses a doubly-linked list instead of a list/seq to track insertion order. | ||||
* | Use mixin methods where possible. (2.7 only -- these don't all exist in 3.0) | Raymond Hettinger | 2009-03-18 | 1 | -18/+7 |
| | |||||
* | Backport 70140, 70141, 70143, and 70144. | Raymond Hettinger | 2009-03-03 | 1 | -5/+9 |
| | | | | | Adds tests, switches from list to deque, fixes __reduce__ which was unnecessarily copying __keys. | ||||
* | Minor simplification. | Raymond Hettinger | 2009-03-03 | 1 | -1/+1 |
| | |||||
* | Make the underlying data structure more private. | Raymond Hettinger | 2009-03-03 | 1 | -15/+19 |
| |