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 foxpython_2020, steven.daprano
Date 2020-10-11.02:07:20
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1602382040.19.0.236268861018.issue42003@roundup.psfhosted.org>
In-reply-to
Content
This is not a bug. In Python 2, zip() returns a list, so you can use it over and over again. But in Python 3, zip() returns an iterator, and you can only use iterators once. After you have used the iterator, it is exhausted and there is nothing left.

So the behaviour you see is expected and intentional.
History
Date User Action Args
2020-10-11 02:07:20steven.dapranosetrecipients: + steven.daprano, foxpython_2020
2020-10-11 02:07:20steven.dapranosetmessageid: <1602382040.19.0.236268861018.issue42003@roundup.psfhosted.org>
2020-10-11 02:07:20steven.dapranolinkissue42003 messages
2020-10-11 02:07:20steven.dapranocreate