]> granicus.if.org Git - python/commit
Issue #16400: Add command line option for isolated mode.
authorChristian Heimes <christian@cheimes.de>
Sat, 10 Aug 2013 14:36:18 +0000 (16:36 +0200)
committerChristian Heimes <christian@cheimes.de>
Sat, 10 Aug 2013 14:36:18 +0000 (16:36 +0200)
commitad73a9cf97770023665a1bb1c6390a3c99478139
treeb04a3a8762fe6a99ae6c57743ebcfca6d71fe2bd
parent562d9cbfe9b11b5bd23810b4ee8a111a8c9aa5b8
Issue #16400: Add command line option for isolated mode.

 -I

    Run Python in isolated mode. This also implies -E and -s. In isolated mode
    sys.path contains neither the script’s directory nor the user’s
    site-packages directory. All PYTHON* environment variables are ignored,
    too. Further restrictions may be imposed to prevent the user from
    injecting malicious code.
Doc/c-api/init.rst
Doc/using/cmdline.rst
Doc/whatsnew/3.4.rst
Include/pydebug.h
Lib/test/test_cmd_line.py
Lib/test/test_sys.py
Misc/NEWS
Misc/python.man
Modules/main.c
Python/pythonrun.c
Python/sysmodule.c