Traceback (most recent call last):
File https://brython.info/tests/editor.py, line 119, in run
exec(src, ns)
File , line 4, in
AttributeError: 'zip' object has no attribute 'next'
It's fine if you wrap zip in iter(), but that should not be necessary since zip should return an iterator, and does so in standard Python.
<completed in 19.00 ms>
It appears that zip() doesn't implement the full iterator interface-
In https://brython.info/tests/editor.html, that results in:
Traceback (most recent call last): File https://brython.info/tests/editor.py, line 119, in run exec(src, ns) File, line 4, in
AttributeError: 'zip' object has no attribute 'next'
It's fine if you wrap zip in iter(), but that should not be necessary since zip should return an iterator, and does so in standard Python. <completed in 19.00 ms>