Author hyeshik.chang
Recipients
Date 2004-03-21.17:55:17
SpamBayes Score
Marked as misclassified
Message-id
In-reply-to
Content
Logged In: YES 
user_id=55188

This inconsistency may not be fixed by list(iter())
workaround, either.

>>> def counter():
...     counter.count += 1
...     return range(counter.count)
...
>>> counter.count = 0
>>> [y for x in 'abc' for y in counter()]
[0, 0, 1, 0, 1, 2]
>>> counter.count = 0
>>> list(y for x in 'abc' for y in counter())
[0, 0, 0]
History
Date User Action Args
2007-08-23 15:31:38adminlinkissue872326 messages
2007-08-23 15:31:38admincreate