summaryrefslogtreecommitdiff
path: root/Lib/collections/__init__.py
Commit message (Collapse)AuthorAgeFilesLines
* Improve OrderedDict equality test.Raymond Hettinger2012-12-071-2/+1
|
* Small cleanup and optimizationRaymond Hettinger2012-06-091-2/+2
|
* Minor reformatting (wrap fat lines, etc.) and create an __main__ fileRaymond Hettinger2012-06-091-51/+15
|
* MergeRaymond Hettinger2012-01-261-1/+1
|
* MergeRaymond Hettinger2011-11-051-2/+6
|
* Issue #13121: Support in-place math operators for collections.Counter().Raymond Hettinger2011-10-191-0/+63
|
* #13012: use splitlines(keepends=True/False) instead of splitlines(0/1).Ezio Melotti2011-09-281-1/+1
|
* add ChainMap to __all__ (closes #12959)Benjamin Peterson2011-09-111-1/+1
| | | | Thanks July Tikhonov.
* Add support for unary plus and unary minus to collections.Counter()Raymond Hettinger2011-08-091-0/+11
|
* mergeRaymond Hettinger2011-06-021-0/+2
|
* Userlist.copy() wasn't returning a UserList.Raymond Hettinger2011-05-051-1/+1
|
* Minor clean-ups to docstrings, comments, and var names.Raymond Hettinger2011-04-241-16/+21
|
* Minor text rearrangement.Raymond Hettinger2011-04-201-10/+10
|
* Issue #11875: Alter the previous fix to work better with subclassesRaymond Hettinger2011-04-191-1/+1
|
* 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-171-12/+19
|
* Fix minor subclassing issue with collections.CounterRaymond Hettinger2011-04-151-2/+2
|
* Add tests for _source to importable and exec'able.Raymond Hettinger2011-03-231-4/+3
| | | | | | | | Move __name__ back out of the template; the responsibility for setting __name__ lies with the caller (which knows something about the new namespace), not with the class definition (which doesn't know about the namespace it is being built in).
* Minor clean-ups.Raymond Hettinger2011-03-231-3/+4
|
* Expose the namedtuple source with a _source attribute.Raymond Hettinger2011-03-231-5/+6
|
* Move namespace setup inside the template.Raymond Hettinger2011-03-231-2/+7
|
* Minor named tuple clean-ups.Raymond Hettinger2011-03-221-10/+9
|
* Factor-out named tuple class definition template strings.Raymond Hettinger2011-03-221-51/+60
|
* Clean-up whitespace.Raymond Hettinger2011-03-221-7/+7
|
* Replace **locals() with explicit field names.Raymond Hettinger2011-03-221-4/+8
|
* Simplify the named tuple template by using the new string format syntax.Raymond Hettinger2011-03-221-15/+15
|
* Improve readability by replacing '\n' in template with real newlines.Raymond Hettinger2011-03-221-9/+19
|
* #11515: Merge with 3.2.Ezio Melotti2011-03-151-1/+1
|
* Add __bool__ method. Add tests. Fix-up broken test.Raymond Hettinger2011-02-261-0/+3
|
* Issue #11297: Add collections.ChainMap()Raymond Hettinger2011-02-261-1/+1
|
* Issue #10516: adding list.clear() and list.copy() methodsEli Bendersky2011-02-251-0/+2
|
* Add tests for the _ChainMap helper class.Raymond Hettinger2011-02-231-0/+9
|
* Factor-out common code for helper classes.Raymond Hettinger2011-02-221-1/+1
|
* Issue #11085: Moved collections abstract base classes into a separate moduleRaymond Hettinger2011-02-221-0/+1032
called collections.abc, following the pattern used by importlib.abc. For backwards compatibility, the names continue to also be imported into the collections module.