summaryrefslogtreecommitdiffstats
path: root/Lib/collections
Commit message (Collapse)AuthorAgeFilesLines
* Small cleanup and optimizationRaymond Hettinger2012-06-101-2/+2
|
* Minor reformatting (wrap fat lines, etc.) and create an __main__ fileRaymond Hettinger2012-06-102-51/+53
|
* Close #14386: Register types.MappingProxyType as a MappingVictor Stinner2012-04-191-1/+3
|
* Clarify that the purpose of computing all the miscellaneous collection types ↵Raymond Hettinger2012-04-051-3/+7
| | | | is to register them with the appropriate ABCs.
* 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-031-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-201-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-181-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-241-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-231-10/+9
|
* Factor-out named tuple class definition template strings.Raymond Hettinger2011-03-231-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
|
* Issue #11333: Add __slots__ to the collections ABCs.Raymond Hettinger2011-03-221-0/+26
|
* #11515: Merge with 3.2.Ezio Melotti2011-03-151-1/+1
|
* Issue #11388: Added a clear() method to MutableSequenceEli Bendersky2011-03-041-0/+7
|
* 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-222-0/+1653
called collections.abc, following the pattern used by importlib.abc. For backwards compatibility, the names continue to also be imported into the collections module.