[Python-Dev] bool(iter([])) changed between 2.3 and 2.4 (original) (raw)
Greg Ewing greg.ewing at canterbury.ac.nz
Fri Sep 23 03:34:32 CEST 2005
- Previous message: [Python-Dev] bool(iter([])) changed between 2.3 and 2.4
- Next message: [Python-Dev] vendor-packages directory
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Jim Jewett wrote:
"Is there anything left?" is a pretty analogy for iterators, particularly since the examples tend to start with list or file iterators.
But this can't be supported by all iterators, so it would be something special to these iterators.
Keeping track of the peculiarities of iterators associated with particular types is too much to fit in my brain. I'd rather they all had the same interface.
-- Greg Ewing, Computer Science Dept, +--------------------------------------+ University of Canterbury, | A citizen of NewZealandCorp, a | Christchurch, New Zealand | wholly-owned subsidiary of USA Inc. | greg.ewing at canterbury.ac.nz +--------------------------------------+
- Previous message: [Python-Dev] bool(iter([])) changed between 2.3 and 2.4
- Next message: [Python-Dev] vendor-packages directory
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]