Serhiy Storchaka <storchaka+cpyt...@gmail.com> added the comment:

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.

----------
nosy: +serhiy.storchaka
resolution:  -> not a bug
stage:  -> resolved
status: open -> closed

_______________________________________
Python tracker <rep...@bugs.python.org>
<https://bugs.python.org/issue32242>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to