Message8314
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 |
|
Date |
User |
Action |
Args |
2014-04-29 12:46:47 | Holloway | set | messageid: <1398775607.67.0.493951507509.issue1591@psf.upfronthosting.co.za> |
2014-04-29 12:46:47 | Holloway | set | recipients:
+ Holloway, fwierzbicki, richardwoolliscroft |
2014-04-29 12:46:47 | Holloway | link | issue1591 messages |
2014-04-29 12:46:45 | Holloway | create | |
|