summaryrefslogtreecommitdiffstats
path: root/Doc
diff options
context:
space:
mode:
authorNick Coghlan <ncoghlan@gmail.com>2013-12-23 06:16:07 (GMT)
committerNick Coghlan <ncoghlan@gmail.com>2013-12-23 06:16:07 (GMT)
commit6256fcbc97e0b1a1e0df1972221232b3a78dff18 (patch)
treee901b7ff5795dfb5fbaffb2483d99fbaea91f851 /Doc
parent3f122d6f44d2cdf0a806fa8019d58ea24cfdf070 (diff)
downloadcpython-6256fcbc97e0b1a1e0df1972221232b3a78dff18.zip
cpython-6256fcbc97e0b1a1e0df1972221232b3a78dff18.tar.gz
cpython-6256fcbc97e0b1a1e0df1972221232b3a78dff18.tar.bz2
Close #19734: ignore pip env vars in ensurepip
Diffstat (limited to 'Doc')
-rw-r--r--Doc/library/ensurepip.rst6
1 files changed, 6 insertions, 0 deletions
diff --git a/Doc/library/ensurepip.rst b/Doc/library/ensurepip.rst
index 528370c..0d82135 100644
--- a/Doc/library/ensurepip.rst
+++ b/Doc/library/ensurepip.rst
@@ -119,6 +119,12 @@ Module API
.. note::
+ The bootstrapping process has side effects on both ``sys.path`` and
+ ``os.environ``. Invoking the command line interface in a subprocess
+ instead allows these side effects to be avoided.
+
+ .. note::
+
The bootstrapping process may install additional modules required by
``pip``, but other software should not assume those dependencies will
always be present by default (as the dependencies may be removed in a