Message140988
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. |
|
Date |
User |
Action |
Args |
2011-07-23 14:53:41 | r.david.murray | set | recipients:
+ r.david.murray, orsenthil, ezio.melotti, eric.araujo, python-dev, haggholm |
2011-07-23 14:53:41 | r.david.murray | set | messageid: <1311432821.42.0.621093533947.issue12581@psf.upfronthosting.co.za> |
2011-07-23 14:53:40 | r.david.murray | link | issue12581 messages |
2011-07-23 14:53:40 | r.david.murray | create | |
|