Question about exausted iterators
Christophe
chris.cavalaria at free.fr
Thu May 18 10:36:43 EDT 2006
Fredrik Lundh a écrit :
> Christophe wrote:
>
>>>> Because I'm still waiting for a valid answer to my question. The
>>>> answer "Because it has been coded like that" or is not a valid one.
>>>
>>>
>>> it's been coded like that because that's what the specification says:
>>>
>>> http://www.python.org/dev/peps/pep-0234/
>>
>>
>> I didn't though I had to mention that "Because the spec has been
>> writen like that" wasn't a valid answer either.
>
>
> so what is a valid answer?
Some valid use case for that behaviour, some example of why what I ask
could cause problems, some implementation difficulties etc ...
Saying it's like that because someone said so isn't exactly what I was
expecting as an answer :) People sometimes can be wrong you know.
More information about the Python-list
mailing list