This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author rhettinger
Recipients jmfauth, rhettinger
Date 2008-11-17.16:06:04
SpamBayes Score 0.0013356982
Marked as misclassified No
Message-id <1226937965.43.0.385534886464.issue4337@psf.upfronthosting.co.za>
In-reply-to
Content
Feature :-)

You will get the expected result if you skip the step where you ran the
for-loop over r before running list().  Either listing or for-looping
will exhaust the iterator.  This is how iterators work.
History
Date User Action Args
2008-11-17 16:06:05rhettingersetrecipients: + rhettinger, jmfauth
2008-11-17 16:06:05rhettingersetmessageid: <1226937965.43.0.385534886464.issue4337@psf.upfronthosting.co.za>
2008-11-17 16:06:04rhettingerlinkissue4337 messages
2008-11-17 16:06:04rhettingercreate