[issue15307] Patch for --symlink support in pyvenv with framework python
Ronald Oussoren
report at bugs.python.org
Thu Jul 12 15:50:11 CEST 2012
Ronald Oussoren <ronaldoussoren at mac.com> added the comment:
I've attached a new version of the patch:
* copy to tmp buffer instead of argv0_buffer (see comment by Ned)
* add include in pythonw.c to avoid compiler warning
* use _Py_char2wchar instead of blindly casting a char* to a wchar_t*
The behavior is not perfect yet, sys.executable is set to the wrong value (both with and without --symlinks). I haven't checked yet if the value is correct without my patch.
----------
Added file: http://bugs.python.org/file26364/venv-symlinks-v2.txt
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue15307>
_______________________________________
More information about the Python-bugs-list
mailing list