diff Misc/python.man @ 85081:dd0d751cc7f1

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.
author Christian Heimes <christian@cheimes.de>
date Sat, 10 Aug 2013 16:36:18 +0200
parents 4b33f74ab0f1
children
line wrap: on
line diff
--- a/Misc/python.man	Sat Aug 10 05:58:10 2013 -0700
+++ b/Misc/python.man	Sat Aug 10 16:36:18 2013 +0200
@@ -26,11 +26,14 @@
 .B \-i
 ]
 [
+.B \-I
+]
+.br
+       [
 .B \-m
 .I module-name
 ]
-.br
-       [
+[
 .B \-q
 ]
 [
@@ -139,6 +142,13 @@
 useful to inspect global variables or a stack trace when a script
 raises an exception.
 .TP
+.B \-I
+Run Python in isolated mode. This also implies \fB\-E\fP and \fB\-S\fP. 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.
+.TP
 .BI "\-m " module-name
 Searches 
 .I sys.path