Message9971
To reproduce:
C:\>set PYTHONPATH=foo
C:\>jython -c "import os; print os.getenv('PYTHONPATH')"
c:\JYTHON~1.7RC\bin
Tested with Jython 2.7 RC 3. Wasn't a problem with earlier pre-releases (don't remember exactly what I tested last on Windows). Most likely an issue in new jython.exe launcher.
Overriding general purpose environment variables like that is definitely not good. This is problem at least for Robot Framework that uses PYTHONPATH to find test libraries regardless the Python interpreter that is used. |
|
Date |
User |
Action |
Args |
2015-04-26 19:28:31 | pekka.klarck | set | recipients:
+ pekka.klarck |
2015-04-26 19:28:31 | pekka.klarck | set | messageid: <1430076511.92.0.303472947535.issue2343@psf.upfronthosting.co.za> |
2015-04-26 19:28:31 | pekka.klarck | link | issue2343 messages |
2015-04-26 19:28:31 | pekka.klarck | create | |
|