Steve Dower added the comment:

Having looked at the implementation, the easiest way to do this will be to add 
an "applocal = true" option to pyvenv.cfg, which would behave identically to 
setting %PYTHONHOME% to the directory containing the config before launch.

I wanted to support relative paths for "home = " but the path handling is so 
far from sufficient that it wouldn't be secure. As it is, I've fixed a lot of 
potential buffer overruns in getpathp.c already, but I don't want to implement 
true relative paths, so I'd prefer to require "home = " to be absolute and add 
a second property that effectively means "home = .".

Any thoughts/comments/preferences?

----------

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

Reply via email to