[issue12581] Increased test coverage of test_urlparse
R. David Murray
report at bugs.python.org
Sat Jul 23 16:53:41 CEST 2011
R. David Murray <rdmurray at bitdance.com> added the comment:
Exhaustion of the iterator is easily solved by simply retaining a reference to it and iterating that (which is what I had in mind). However, I had not thought about the problem of an *in*exhaustable iterator, and to cover that case len is indeed better.
----------
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue12581>
_______________________________________
More information about the Python-bugs-list
mailing list