Message10658

Author zyasoft
Recipients darjus, jeff.allen, teeohhem, zyasoft
Date 2016-01-19.12:58:24
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1453208304.95.0.228467016971.issue2441@psf.upfronthosting.co.za>
In-reply-to
Content
1. If python.executable is specified, we always use that for sys.executable. That this option is not currently honored is a bug.

2. If sys.prefix is None, sys.executable will remain None. I believe the only circumstance we cannot compute sys.prefix is in applet-like contexts, but we will not be launching subprocesses in any event. (It is possible that webstart bundled applications could see the same behavior however, but that's a further refinement we can look at later.)

3. Otherwise sys.executable is the equivalent of os.path.join(sys.prefix, "bin/jython"), or on Windows, "bin/jython.exe", which ties into nicely to a variety of ways users can actually setup.

What this convention avoids is unnecessary customization for Jython in the wider Python ecosystem. We already have enough of that for os.name vs os._name!
History
Date User Action Args
2016-01-19 12:58:24zyasoftsetmessageid: <1453208304.95.0.228467016971.issue2441@psf.upfronthosting.co.za>
2016-01-19 12:58:24zyasoftsetrecipients: + zyasoft, jeff.allen, darjus, teeohhem
2016-01-19 12:58:24zyasoftlinkissue2441 messages
2016-01-19 12:58:24zyasoftcreate