summaryrefslogtreecommitdiffstats
path: root/Lib/collections
Commit message (Collapse)AuthorAgeFilesLines
* whitespace cleanupChristian Heimes2013-10-131-1/+0
|
* Issue #19218: Add facade collections.abcChristian Heimes2013-10-131-0/+3
|
* Issue #19218: Rename collections.abc to _collections_abc in order to speed ↵Christian Heimes2013-10-132-731/+3
| | | | up interpreter start
* Close #18690: register memoryview with Sequence ABCNick Coghlan2013-10-021-0/+1
|
* #18466: merge with 3.3.Ezio Melotti2013-08-171-1/+1
|\
| * #18466: fix more typos. Patch by Févry Thibault.Ezio Melotti2013-08-171-1/+1
| |
* | Fix typo on MutableSequence docstring.Guido van Rossum2013-07-251-1/+1
| |
* | Issue #18200: Back out usage of ModuleNotFoundError (8d28d44f3a9a)Brett Cannon2013-07-041-1/+1
| |
* | Issue #18200: Update the stdlib (except tests) to useBrett Cannon2013-06-141-1/+1
| | | | | | | | ModuleNotFoundError.
* | Issue #17900: Allowed pickling of recursive OrderedDicts. Decreased pickledSerhiy Storchaka2013-05-211-4/+1
| | | | | | | | size and pickling time.
* | Undo the deprecation of _asdict().Raymond Hettinger2013-05-181-3/+0
| | | | | | | | Backed out changeset c4ca39bece9d
* | Deprecate nametuple._asdict()Raymond Hettinger2013-05-181-0/+3
| |
* | mergeRaymond Hettinger2013-05-171-12/+17
|\ \ | |/
| * Update docstring for _asdict() to indicate it is obsolete.Raymond Hettinger2013-05-171-12/+17
| | | | | | | | | | | | Use the cleaner looking @property style for __dict__. Move _replace() to be just after make() to indicate that it is a core method on named tuples.
* | mergeRaymond Hettinger2013-05-171-4/+1
|\ \ | |/
| * Remove unnecessary exception handler.Raymond Hettinger2013-05-171-4/+1
| |
* | Issue #15528: Add weakref.finalize to support finalization usingRichard Oudkerk2013-05-051-1/+1
| | | | | | | | | | | | | | | | | | weakref callbacks. This is 2e446e87ac5b except that collections/__init__.py has been modified to import proxy from _weakref instead of weakref. This eliminates an import cycle which seems to cause a problem on Unix but not Windows.
* | mergeRaymond Hettinger2013-05-031-0/+4
|\ \ | |/
| * Issue #15535: Fix pickling of named tuples.Raymond Hettinger2013-05-031-0/+4
| |
* | mergeRaymond Hettinger2013-03-241-0/+68
|\ \ | |/
| * Add missing docstrings to the collections ABCsRaymond Hettinger2013-03-241-0/+68
| |
| * Backport improved dict comparison logicRaymond Hettinger2013-03-231-2/+1
| |
* | MergeRaymond Hettinger2013-03-021-9/+4
|\ \ | |/
| * Issue #17331: Use isidentifier() instead of isalnum() to check for valid ↵Raymond Hettinger2013-03-021-9/+4
| | | | | | | | identifiers.
* | Closes #16613: Added optional mapping argument to ChainMap.new_child.Vinay Sajip2013-01-111-3/+8
| |
* | Improve OrderedDict equality test.Raymond Hettinger2012-12-071-2/+1
| |
* | Merge issue #16373: Prevent infinite recursion for ABC Set class operations.Andrew Svetlov2012-11-011-2/+2
|\ \ | |/ | | | | Patch by Serhiy Storchaka.
| * Merge issue #16373: Prevent infinite recursion for ABC Set class operations.Andrew Svetlov2012-11-011-2/+2
| | | | | | | | Patch by Serhiy Storchaka.
* | utilize yield fromPhilip Jenvey2012-10-011-2/+1
|/
* 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
|