Message8314

Author Holloway
Recipients Holloway, fwierzbicki, richardwoolliscroft
Date 2014-04-29.12:46:45
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1398775607.67.0.493951507509.issue1591@psf.upfronthosting.co.za>
In-reply-to
Content
This bug is visible running the interpreter from the standalone command line interface as well.

Running jython (eg "java -jar jython-standalone-2.5.3.jar") to get to the prompt, then entering (as above):

for i in range(1,5): <enter>
    print i <enter> #the tab is here as well
a = i <enter>
<enter>

No error is raised where python would report a syntax error.

validPartialSentence in org.python.core.ParserFacade returns true even when not valid. Error seems to stem from PythonPartialParser.single_input() (should throw an exception but doesn't) which is not included in the source download from jython.org
History
Date User Action Args
2014-04-29 12:46:47Hollowaysetmessageid: <1398775607.67.0.493951507509.issue1591@psf.upfronthosting.co.za>
2014-04-29 12:46:47Hollowaysetrecipients: + Holloway, fwierzbicki, richardwoolliscroft
2014-04-29 12:46:47Hollowaylinkissue1591 messages
2014-04-29 12:46:45Hollowaycreate