This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author ronaldoussoren
Recipients ned.deily, python-dev, ronaldoussoren, vinay.sajip
Date 2012-07-16.12:31:45
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1342441908.81.0.636882963859.issue15307@psf.upfronthosting.co.za>
In-reply-to
Content
The test failure in test_osx_env is in itself fairly harmless because PYTHONEXECUTABLE is only used to ensure IDLE.app works correct, and IDLE.app doesn't use the pythonw executable and hence won't hit the code that special-cases the venv location.

That said, the failure should be removed and points to a real issue in my patch: with my patch calculate_path replaces the value set by Py_SetProgramName and that is a real problem that could break 3th-party code without a good reason.

I've attached v5 of the patch, this fixes the test_osx_env failure by moving the the code that uses __PYVENV_LAUNCHER__ to main.c (where Py_SetProgramName is called)
History
Date User Action Args
2012-07-16 12:31:48ronaldoussorensetrecipients: + ronaldoussoren, vinay.sajip, ned.deily, python-dev
2012-07-16 12:31:48ronaldoussorensetmessageid: <1342441908.81.0.636882963859.issue15307@psf.upfronthosting.co.za>
2012-07-16 12:31:48ronaldoussorenlinkissue15307 messages
2012-07-16 12:31:47ronaldoussorencreate