Message10658
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! |
|
Date |
User |
Action |
Args |
2016-01-19 12:58:24 | zyasoft | set | messageid: <1453208304.95.0.228467016971.issue2441@psf.upfronthosting.co.za> |
2016-01-19 12:58:24 | zyasoft | set | recipients:
+ zyasoft, jeff.allen, darjus, teeohhem |
2016-01-19 12:58:24 | zyasoft | link | issue2441 messages |
2016-01-19 12:58:24 | zyasoft | create | |
|