Message4733

Author olwi
Recipients olwi
Date 2009-05-27.03:33:26
SpamBayes Score 0.00054793345
Marked as misclassified No
Message-id <1243395207.55.0.521657467843.issue1358@psf.upfronthosting.co.za>
In-reply-to
Content
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
-------------------------------------------
History
Date User Action Args
2009-05-27 03:33:27olwisetrecipients: + olwi
2009-05-27 03:33:27olwisetmessageid: <1243395207.55.0.521657467843.issue1358@psf.upfronthosting.co.za>
2009-05-27 03:33:27olwilinkissue1358 messages
2009-05-27 03:33:27olwicreate