Message12091

Author jeff.allen
Recipients jeff.allen, zyasoft
Date 2018-09-03.19:41:57
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1536003719.09.0.56676864532.issue2686@psf.upfronthosting.co.za>
In-reply-to
Content
Getting there, one of the signs being that "inspect" is now done right:

Current tip:
PS jython-trunk> dist\bin\jython -i -c"a=6*7; exit()"
PS jython-trunk>

My uncommitted work:
PS jython-jvm9> dist\bin\jython -i -c"a=6*7; exit()"
Traceback (most recent call last):
  File "<string>", line 1, in <module>
  File "C:\Users\Jeff\Documents\Eclipse-O\jython-jvm9\dist\Lib\site.py", line 394, in __call__
    raise SystemExit(code)
SystemExit: None
>>> a
42
>>> exit()
PS jython-jvm9>

Which is identical to CPython. What I have is a curious synthesis of CPython and the original code, but it seems to work and I believe will be comprehensible to us next time we have to touch it. I still need to try this with a fancy console (JLine) and support -jar.
History
Date User Action Args
2018-09-03 19:41:59jeff.allensetmessageid: <1536003719.09.0.56676864532.issue2686@psf.upfronthosting.co.za>
2018-09-03 19:41:59jeff.allensetrecipients: + jeff.allen, zyasoft
2018-09-03 19:41:58jeff.allenlinkissue2686 messages
2018-09-03 19:41:58jeff.allencreate