From: olwi <re...@bu...> - 2009-05-27 03:33:34
|
New submission from olwi <Olw...@gm...>: 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 ------------------------------------------- ---------- components: Core files: test1.py messages: 4733 nosy: olwi severity: normal status: open title: Simple pogram fails to parse in Jython 2.5rc3, but parses OK with CPython type: behaviour versions: 25b3 Added file: http://bugs.jython.org/file684/test1.py _______________________________________ Jython tracker <re...@bu...> <http://bugs.jython.org/issue1358> _______________________________________ |