]> granicus.if.org Git - python/commit
* Add unittests for iterators that report their length
authorRaymond Hettinger <python@rcn.com>
Mon, 12 Apr 2004 18:10:01 +0000 (18:10 +0000)
committerRaymond Hettinger <python@rcn.com>
Mon, 12 Apr 2004 18:10:01 +0000 (18:10 +0000)
commit7892b1c651d72a5bd08372f40309dec08a7065f0
tree7ae71a1e81651c4fa7f786ebfbdbc8364a41730e
parent45d0b5cc44ffb6227a2379a39b00d480f253edd5
* 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
Lib/test/test_iterlen.py [new file with mode: 0644]
Modules/collectionsmodule.c
Objects/dictobject.c
Objects/enumobject.c
Objects/iterobject.c