Gitiles
Code Review
Sign In
gerrit-public.fairphone.software
/
platform
/
external
/
python
/
cpython2
/
c41cf8c0ee6e28e43ca92e811704db1912bb21df
/
Lib
/
test
/
test_collections.py
38f57a1
Issue #5647: MutableSet.__iand__() no longer mutates self during iteration.
by Raymond Hettinger
· 16 years ago
9293eb9
Backport 69934: Register xrange() as a Sequence.
by Raymond Hettinger
· 16 years ago
c979448
Issue 4920: Fixed next() vs __next__() issues in the ABCs
by Raymond Hettinger
· 17 years ago
6ee7bc0
Fix namedtuple bug reported by Glenn Linderman. Template did not form correctly if the field names were input in Unicode.
by Raymond Hettinger
· 17 years ago
48361f5
Issue 2235: Py3k warnings are now emitted for classes that will no longer inherit a__hash__ implementation from a parent class in Python 3.x. The standard library and test suite have been updated to not emit these warnings.
by Nick Coghlan
· 17 years ago
4c52f52
Issue 3161: Missing import and test.
by Raymond Hettinger
· 17 years ago
e98839a
Issue3065: Fixed pickling of named tuples. Added tests.
by Raymond Hettinger
· 17 years ago
0bb0299
Take namedtuple item names only from ascii_letters (this blew up on OSX),
by Georg Brandl
· 17 years ago
cb0f2ad
A DocTestSuite cannot run multiple times: it clears its globals dictionary after the first run.
by Amaury Forgeot d'Arc
· 17 years ago
d1ef854
Run doctests on the collections module
by Raymond Hettinger
· 18 years ago
1b50fd7
Add error-checking to namedtuple's _replace() method.
by Raymond Hettinger
· 18 years ago
02740f7
Improve namedtuple's _cast() method with a docstring, new name, and error-checking.
by Raymond Hettinger
· 18 years ago
e0734e7
Minor fix-ups to named tuples:
by Raymond Hettinger
· 18 years ago
85dfcf3
Users demand iterable input for named tuples. The author capitulates.
by Raymond Hettinger
· 18 years ago
88880b2
Add more namedtuple() test cases. Neaten the code and comments.
by Raymond Hettinger
· 18 years ago
42da874
Cleaner method naming convention
by Raymond Hettinger
· 18 years ago
2e1af25
Error checking was too aggressive (reported by Chris Tismer)
by Raymond Hettinger
· 18 years ago
64c06e3
Backport of _abccoll.py by Benjamin Arangueren, issue 1383.
by Guido van Rossum
· 18 years ago
eeeb9c4
Accept Issac Morland's suggestion for __replace__ to allow multiple replacements
by Raymond Hettinger
· 18 years ago
b5e5d07
Add test for __fields__ being read-only
by Raymond Hettinger
· 18 years ago
01a0957
Shorter name for namedtuple()
by Raymond Hettinger
· 18 years ago
abfd8df
More docs, error messages, and tests
by Raymond Hettinger
· 18 years ago
a48a299
Eliminate camelcase function name
by Raymond Hettinger
· 18 years ago
2115bbc
Add comments to NamedTuple code.
by Raymond Hettinger
· 18 years ago
a7fc4b1
Add __asdict__() to NamedTuple and refine the docs.
by Raymond Hettinger
· 18 years ago
2b03d45
Handle corner cased on 0-tuples and 1-tuples. Add verbose option so people can see how it works.
by Raymond Hettinger
· 18 years ago
d36a60e
Sync-up named tuples with the latest version of the ASPN recipe.
by Raymond Hettinger
· 18 years ago
767debb
Allow all alphanumeric and underscores in type and field names.
by Raymond Hettinger
· 18 years ago
5a41daf
Improvements to NamedTuple's implementation, tests, and documentation
by Raymond Hettinger
· 18 years ago
c37e5e0
Add collections.NamedTuple
by Raymond Hettinger
· 18 years ago