Message9971

Author pekka.klarck
Recipients pekka.klarck
Date 2015-04-26.19:28:31
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1430076511.92.0.303472947535.issue2343@psf.upfronthosting.co.za>
In-reply-to
Content
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.
History
Date User Action Args
2015-04-26 19:28:31pekka.klarcksetrecipients: + pekka.klarck
2015-04-26 19:28:31pekka.klarcksetmessageid: <1430076511.92.0.303472947535.issue2343@psf.upfronthosting.co.za>
2015-04-26 19:28:31pekka.klarcklinkissue2343 messages
2015-04-26 19:28:31pekka.klarckcreate