Ronald Oussoren <ronaldousso...@mac.com> added the comment:

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)

----------
Added file: http://bugs.python.org/file26396/venv-symlinks-v6.txt

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue15307>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to