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 Vishu Viswanathan, ronaldoussoren, serhiy.storchaka, steven.daprano
Date 2017-12-07.14:32:28
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1512657148.16.0.213398074469.issue32242@psf.upfronthosting.co.za>
In-reply-to
Content
In Python 2 zip() returns a list. In Python 3 it returns an iterator (like itertools.izip() in Python 2). This is an intentional change. For restoring the Python 2 behavior you should wrap the result of zip() into list(): z = list(zip(j, k)). The 2to3 command can do this for you.
History
Date User Action Args
2017-12-07 14:32:28serhiy.storchakasetrecipients: + serhiy.storchaka, ronaldoussoren, steven.daprano, Vishu Viswanathan
2017-12-07 14:32:28serhiy.storchakasetmessageid: <1512657148.16.0.213398074469.issue32242@psf.upfronthosting.co.za>
2017-12-07 14:32:28serhiy.storchakalinkissue32242 messages
2017-12-07 14:32:28serhiy.storchakacreate