New submission from Urs Bisang <[email protected]>:

The following example gives an error in PyPy but is working in CPython 3

Python 3.2.3 (d63636b30cc0, Jul 30 2013, 07:02:48)
[PyPy 2.1.0-beta1 with GCC 4.2.1 Compatible Clang Compiler] on darwin
Type "help", "copyright", "credits" or "license" for more information.
And now for something completely different: ``"3 + 3 = 8" - Anto in the JIT
talk''
>>>> from array import array
>>>> a = array('b')
>>>> list(iter(a))
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
TypeError: 'arrayiterator' object is not iterable

----------
messages: 6292
nosy: pypy-issue, urs.bisang
priority: bug
release: ???
status: unread
title: PyPy Python 3.2.3 - TypeError: 'arrayiterator' object is not iterable

________________________________________
PyPy bug tracker <[email protected]>
<https://bugs.pypy.org/issue1628>
________________________________________
_______________________________________________
pypy-issue mailing list
[email protected]
https://mail.python.org/mailman/listinfo/pypy-issue

Reply via email to