[issue16499] CLI option for isolated mode
Christian Heimes
report at bugs.python.org
Thu Nov 22 20:08:10 CET 2012
Christian Heimes added the comment:
How shall I handle venv? I'm reluctant to disable venv in site.py although it allows a user to modify sys.path. However it's only an issue under two circumstances:
(1) The user either needs write permissions to the parent directory of the python executable.
(2) The script doesn't hard code the path to the interpreter in its shebang.
Point 1 allows the user to mess with the system in more serious ways. The second point can be avoided with a correctly written shebang line.
----------
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue16499>
_______________________________________
More information about the Python-bugs-list
mailing list