Ezio Melotti
|
c2077b0d9b
|
#11565: Fix several typos. Patch by Piotr Kasprzyk.
|
2011-03-16 12:34:31 +02:00 |
Raymond Hettinger
|
d6fc2623c5
|
Validate that __length_hint__ returns a usable result.
|
2009-02-03 02:23:19 +00:00 |
Raymond Hettinger
|
b516370bcb
|
Issue 1242657: list(obj) can swallow KeyboardInterrupt.
|
2009-02-02 21:50:13 +00:00 |
Raymond Hettinger
|
882a416900
|
Merge r60628, r60631, and r60633. Register UserList and UserString will the appropriate ABCs.
|
2008-02-07 03:25:46 +00:00 |
Tim Peters
|
daea035bac
|
Whitespace normalization.
|
2006-07-27 15:11:00 +00:00 |
Georg Brandl
|
f102fc5f86
|
Add test_main() methods. These three tests were never run
by regrtest.py.
We really need a simpler testing framework.
|
2006-07-27 15:05:36 +00:00 |
Armin Rigo
|
f5b3e36493
|
Renamed _length_cue() to __length_hint__(). See:
http://mail.python.org/pipermail/python-dev/2006-February/060524.html
|
2006-02-11 21:32:43 +00:00 |
Raymond Hettinger
|
6b27cda643
|
Convert iterator __len__() methods to a private API.
|
2005-09-24 21:23:05 +00:00 |
Tim Peters
|
27f883687b
|
Whitespace normalization.
|
2004-07-08 04:22:35 +00:00 |
Raymond Hettinger
|
7892b1c651
|
* Add unittests for iterators that report their length
* Document the differences between them
* Fix corner cases covered by the unittests
* Use Py_RETURN_NONE where possible for dictionaries
|
2004-04-12 18:10:01 +00:00 |