Author zyasoft
Recipients saltnlight5, zyasoft
Date 2015-12-17.04:12:37
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
This demo is absolutely ancient code - JPython?!!! - and uses some arguable bad coding practices such as stopping threads and what appears to be an unnecessary late import of sys. The underlying problem is that it needs to now construct an interactive console much like org.python.util.jython. So something like this code snippet:

        // Now create an interpreter
        if (!opts.interactive) {
            // Not (really) interactive, so do not use console prompts
            systemState.ps1 = systemState.ps2 = Py.EmptyString;
        InteractiveConsole interp = new InteractiveConsole();

At this point, sys.ps1 and sys.ps2 are defined.
Date User Action Args
2015-12-17 04:12:38zyasoftsetmessageid: <>
2015-12-17 04:12:38zyasoftsetrecipients: + zyasoft, saltnlight5
2015-12-17 04:12:38zyasoftlinkissue2373 messages
2015-12-17 04:12:37zyasoftcreate