Message12120

Author jeff.allen
Recipients jeff.allen, zyasoft
Date 2018-09-24.05:48:55
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1537768137.86.0.956365154283.issue2706@psf.upfronthosting.co.za>
In-reply-to
Content
I have tested this idea and had to make two changes in test_java_integration, where running a proxy now looks like:

            cmd = [os.path.join(System.getProperty("java.home"), "bin", "java"),
                   "-Dpython.path=" + os.path.dirname(__file__),
                   "-classpath", classpath, "BarkTheDog"]
            ...
                subprocess.check_output(cmd, universal_newlines=True, stderr=subprocess.STDOUT)

It's shorter as we do not have to prepare JYTHONPATH in a clone of os.environ.

Because we might decide it is a bad idea, I'm parking it here as a patch, rather than committing it directly.
History
Date User Action Args
2018-09-24 05:48:57jeff.allensetmessageid: <1537768137.86.0.956365154283.issue2706@psf.upfronthosting.co.za>
2018-09-24 05:48:57jeff.allensetrecipients: + jeff.allen, zyasoft
2018-09-24 05:48:57jeff.allenlinkissue2706 messages
2018-09-24 05:48:57jeff.allencreate