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 steven.daprano
Recipients Med Nezar BELLAZRAK, steven.daprano
Date 2018-05-29.12:12:54
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1527595974.14.0.682650639539.issue33681@psf.upfronthosting.co.za>
In-reply-to
Content
This is standard behaviour for all iterators. Once you have iterated over them once, they are consumed, and iterating over them again returns nothing:

py> it = iter("abc")
py> print(list(it))
['a', 'b', 'c']
py> print(list(it))
[]
History
Date User Action Args
2018-05-29 12:12:54steven.dapranosetrecipients: + steven.daprano, Med Nezar BELLAZRAK
2018-05-29 12:12:54steven.dapranosetmessageid: <1527595974.14.0.682650639539.issue33681@psf.upfronthosting.co.za>
2018-05-29 12:12:54steven.dapranolinkissue33681 messages
2018-05-29 12:12:54steven.dapranocreate