summaryrefslogtreecommitdiffstats
path: root/Lib/collections.py
Commit message (Expand)AuthorAgeFilesLines
* Fix namedtuple bug reported by Glenn Linderman. Template did not form correc...Raymond Hettinger2008-09-251-1/+1
* Issue3065: Fixed pickling of named tuples. Added tests.Raymond Hettinger2008-06-091-1/+3
* Issue 2903: Add __name__ in globals for namedtuple namespace.Raymond Hettinger2008-05-301-2/+3
* Neaten-up the named tuple docsRaymond Hettinger2008-01-101-1/+1
* Clarify how to add a field to a named tuple.Raymond Hettinger2008-01-101-0/+3
* Examples for named tuple subclassing should include __slots__Raymond Hettinger2008-01-101-1/+3
* Expand comment.Raymond Hettinger2008-01-081-1/+2
* Use get() instead of pop() for the optimized version of _replace().Raymond Hettinger2008-01-071-1/+1
* Cleanup named tuple subclassing example.Raymond Hettinger2008-01-071-3/+4
* Add another named tuple subclassing example.Raymond Hettinger2008-01-071-0/+8
* Cleanup subclassing example to more clearly show fixed-width print format.Raymond Hettinger2008-01-071-2/+1
* Add subclassing example to docs for named tuples.Raymond Hettinger2008-01-071-2/+9
* Speed-up named tuple's _make() constructor.Raymond Hettinger2008-01-061-2/+2
* Small code simplification. Forgot that classmethods can be called from intan...Raymond Hettinger2008-01-061-1/+1
* Add error-checking to namedtuple's _replace() method.Raymond Hettinger2008-01-051-1/+4
* Improve namedtuple's _cast() method with a docstring, new name, and error-che...Raymond Hettinger2008-01-051-2/+9
* Minor fix-ups to named tuples:Raymond Hettinger2008-01-041-4/+2
* Users demand iterable input for named tuples. The author capitulates.Raymond Hettinger2007-12-181-1/+2
* Simplify and speedup _asdict() for named tuples.Raymond Hettinger2007-12-181-5/+5
* Add more namedtuple() test cases. Neaten the code and comments.Raymond Hettinger2007-12-181-10/+11
* Faster and simpler _replace() methodRaymond Hettinger2007-12-141-1/+1
* Add line spacing for readabilityRaymond Hettinger2007-12-141-8/+8
* Cleaner method naming conventionRaymond Hettinger2007-12-141-7/+7
* Small speedupRaymond Hettinger2007-12-131-1/+2
* Simplify implementation of __replace__()Raymond Hettinger2007-12-131-1/+1
* Error checking was too aggressive (reported by Chris Tismer)Raymond Hettinger2007-12-051-2/+2
* Backport of _abccoll.py by Benjamin Arangueren, issue 1383.Guido van Rossum2007-11-221-0/+6
* Small improvement to the implementation of __replace__().Raymond Hettinger2007-11-151-1/+1
* Accept Issac Morland's suggestion for __replace__ to allow multiple replacementsRaymond Hettinger2007-11-151-4/+8
* Make __fields__ read-only. Suggested by Issac MorlandRaymond Hettinger2007-11-141-1/+1
* Shorter name for namedtuple()Raymond Hettinger2007-10-231-5/+5
* More docs, error messages, and testsRaymond Hettinger2007-10-161-0/+3
* Improve error messagesRaymond Hettinger2007-10-161-6/+7
* Make the error messages more specificRaymond Hettinger2007-10-091-6/+9
* Eliminate camelcase function nameRaymond Hettinger2007-10-081-5/+9
* Better variable namesRaymond Hettinger2007-10-081-4/+4
* Add comments to NamedTuple code.Raymond Hettinger2007-10-081-3/+18
* Add __asdict__() to NamedTuple and refine the docs.Raymond Hettinger2007-10-051-5/+10
* Handle corner cased on 0-tuples and 1-tuples. Add verbose option so people c...Raymond Hettinger2007-09-181-8/+9
* Sync-up named tuples with the latest version of the ASPN recipe.Raymond Hettinger2007-09-171-10/+19
* Allow all alphanumeric and underscores in type and field names.Raymond Hettinger2007-05-211-1/+1
* Replace assertion with straight error-checking.Raymond Hettinger2007-05-211-1/+2
* Fix beginner mistake -- don't mix spaces and tabs.Raymond Hettinger2007-05-191-1/+1
* Improvements to NamedTuple's implementation, tests, and documentationRaymond Hettinger2007-05-191-24/+23
* Add collections.NamedTupleRaymond Hettinger2007-03-011-1/+60
* Prepare collections module for pure python code entries.Raymond Hettinger2007-02-281-0/+3