Issue1358
Created on 2009-05-27.03:33:27 by olwi, last changed 2009-05-27.16:18:03 by fwierzbicki.
File name |
Uploaded |
Description |
Edit |
Remove |
test1.py
|
olwi,
2009-05-27.03:33:26
|
Example program that fails to parse properly |
|
|
msg4733 (view) |
Author: (olwi) |
Date: 2009-05-27.03:33:26 |
|
Simple pogram fails to parse in Jython 2.5rc3, but parses and executes
OK with CPython (tested with CPython versions 2.4.1, 2.5.4, 2.6.1)
The program is:
-------------------------------------------
b = False \
## or True
n = 1
print "b = %r, n = %r" % (b,n)
-------------------------------------------
when run with Jython 2.5rc3 like this (on WinXP Pro SP2):
C:\jython2.5rc3\jython.bat test1.py
the resulting output is:
-------------------------------------------
File "test1.py", line 4
n = 1
^
SyntaxError: mismatched input 'n' expecting NEWLINE
-------------------------------------------
|
msg4734 (view) |
Author: Frank Wierzbicki (fwierzbicki) |
Date: 2009-05-27.13:07:34 |
|
reproduced, trailing \ and comments are failing to parse. Minimal
failing example:
1 \
#
2
|
msg4735 (view) |
Author: Frank Wierzbicki (fwierzbicki) |
Date: 2009-05-27.14:38:21 |
|
Fixed in r6396
|
msg4736 (view) |
Author: Frank Wierzbicki (fwierzbicki) |
Date: 2009-05-27.14:55:05 |
|
closing, thanks for the report olwi!
|
|
Date |
User |
Action |
Args |
2009-05-27 16:18:03 | fwierzbicki | set | resolution: accepted -> fixed |
2009-05-27 14:55:05 | fwierzbicki | set | status: open -> closed messages:
+ msg4736 |
2009-05-27 14:38:21 | fwierzbicki | set | messages:
+ msg4735 |
2009-05-27 13:07:35 | fwierzbicki | set | priority: high assignee: fwierzbicki resolution: accepted messages:
+ msg4734 nosy:
+ fwierzbicki |
2009-05-27 03:33:27 | olwi | create | |
|