summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_iterlen.py
Commit message (Collapse)AuthorAgeFilesLines
* Validate that __length_hint__ returns a usable result.Raymond Hettinger2009-02-031-0/+10
|
* Issue 1242657: list(obj) can swallow KeyboardInterrupt.Raymond Hettinger2009-02-021-0/+31
|
* Merge r60628, r60631, and r60633. Register UserList and UserString will the ↵Raymond Hettinger2008-02-071-42/+0
| | | | appropriate ABCs.
* Whitespace normalization.Tim Peters2006-07-271-1/+0
|
* Add test_main() methods. These three tests were never runGeorg Brandl2006-07-271-3/+5
| | | | | | by regrtest.py. We really need a simpler testing framework.
* Renamed _length_cue() to __length_hint__(). See:Armin Rigo2006-02-111-1/+3
| | | | http://mail.python.org/pipermail/python-dev/2006-February/060524.html
* Convert iterator __len__() methods to a private API.Raymond Hettinger2005-09-241-1/+11
|
* Whitespace normalization.Tim Peters2004-07-081-7/+7
|
* * Add unittests for iterators that report their lengthRaymond Hettinger2004-04-121-0/+245
* Document the differences between them * Fix corner cases covered by the unittests * Use Py_RETURN_NONE where possible for dictionaries