diff options
author | Éric Araujo <merwok@netwok.org> | 2011-03-23 01:06:24 (GMT) |
---|---|---|
committer | Éric Araujo <merwok@netwok.org> | 2011-03-23 01:06:24 (GMT) |
commit | c09fca67e7babfda22964143c74dcd313470850a (patch) | |
tree | 050cead4915139132014dfda4a07c2d0872d314a /Doc/whatsnew/3.3.rst | |
parent | f59c7b2bddbeb552dac8a1fc8c800c7789c81331 (diff) | |
download | cpython-c09fca67e7babfda22964143c74dcd313470850a.zip cpython-c09fca67e7babfda22964143c74dcd313470850a.tar.gz cpython-c09fca67e7babfda22964143c74dcd313470850a.tar.bz2 |
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.
Diffstat (limited to 'Doc/whatsnew/3.3.rst')
-rw-r--r-- | Doc/whatsnew/3.3.rst | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/Doc/whatsnew/3.3.rst b/Doc/whatsnew/3.3.rst index d86826c..7f05a84 100644 --- a/Doc/whatsnew/3.3.rst +++ b/Doc/whatsnew/3.3.rst @@ -128,3 +128,8 @@ that may require changes to your code: * Stub + +.. Issue #11591: When :program:`python` was started with :option:`-S`, + ``import site`` will not add site-specific paths to the module search + paths. In previous versions, it did. See changeset for doc changes in + various files. Contributed by Carl Meyer with editions by Éric Araujo. |