Brian Kearns <[email protected]> added the comment:
i can reproduce this. also, some additional odd behavior that only occurs in
interactive mode:
>>>> while 1: [0] + {"": 0}.keys()
[0, '']
[0, '']
[0, '']
Traceback (most recent call last):
File "<console>", line 1, in <module>
UnboundLocalError: local variable 'x' referenced before assignment
>>>> while 1: tuple([0] + {"": 0}.keys())
(0, '')
(0, '')
(0, '')
Segmentation fault
----------
nosy: +bdk
________________________________________
PyPy bug tracker <[email protected]>
<https://bugs.pypy.org/issue1435>
________________________________________
_______________________________________________
pypy-issue mailing list
[email protected]
http://mail.python.org/mailman/listinfo/pypy-issue