diff Misc/python.man @ 68859:a364719e400a

Do not touch sys.path when site is imported and python was started with -S. Original patch by Carl Meyer, review by Brett Cannon, small doc editions by yours truly. Fixes #11591.
author Éric Araujo <merwok@netwok.org>
date Wed, 23 Mar 2011 02:06:24 +0100
parents 3c9232a684ae
children c19752ea037f
line wrap: on
line diff
--- a/Misc/python.man	Tue Mar 22 17:34:28 2011 -0700
+++ b/Misc/python.man	Wed Mar 23 02:06:24 2011 +0100
@@ -169,7 +169,9 @@
 .I site
 and the site-dependent manipulations of
 .I sys.path
-that it entails.
+that it entails.  Also disable these manipulations if
+.I site
+is explicitly imported later.
 .TP
 .B \-u
 Force the binary I/O layers of stdin, stdout and stderr to be unbuffered.