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 serhiy.storchaka
Recipients AugPro, SilentGhost, serhiy.storchaka
Date 2019-05-15.09:09:20
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1557911361.07.0.184416186749.issue36923@roundup.psfhosted.org>
In-reply-to
Content
It will fail for infinite and very large iterables. It can cause performing unexpected operations. Examples:

    zip(itertools.count(), itertools.repeat(None))

    zip(file1, file2)

In general, the repr of the iterator should not change it state. But your proposition exhausts it.
History
Date User Action Args
2019-05-15 09:09:21serhiy.storchakasetrecipients: + serhiy.storchaka, SilentGhost, AugPro
2019-05-15 09:09:21serhiy.storchakasetmessageid: <1557911361.07.0.184416186749.issue36923@roundup.psfhosted.org>
2019-05-15 09:09:21serhiy.storchakalinkissue36923 messages
2019-05-15 09:09:20serhiy.storchakacreate