Stefan Krah <[email protected]> added the comment:
Hi, I've problems with two recent commits (r85814 and r85817):
Example:
r85812 is ok:
==============
Python 3.2a3+ (py3k:85812:85835M, Oct 28 2010, 22:02:19)
[GCC 4.2.4 (Ubuntu 4.2.4-3ubuntu4)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> x = 5 | 4 |
File "<stdin>", line 1
x = 5 | 4 |
^
SyntaxError: invalid syntax
>>>
r85814 does not give the intended output:
==========================================
Python 3.2a3+ (py3k:85814:85835M, Oct 28 2010, 22:03:06)
[GCC 4.2.4 (Ubuntu 4.2.4-3ubuntu4)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> x = 5 | 4 |
File "<stdin>", line 1
^
SyntaxError: invalid syntax
>>>
r85817 goes into an "infinite" loop. The last one is obvious;
offset is 0, so the while loop does not stop.
----------
nosy: +skrah
_______________________________________
Python tracker <[email protected]>
<http://bugs.python.org/issue10186>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe:
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com