summaryrefslogtreecommitdiffstats
path: root/Lib/venv/__init__.py
diff options
context:
space:
mode:
authorNick Coghlan <ncoghlan@gmail.com>2013-11-24 01:53:03 (GMT)
committerNick Coghlan <ncoghlan@gmail.com>2013-11-24 01:53:03 (GMT)
commit1631b9b4b56323a0a85f1df6239058f6d2a40a13 (patch)
treef7929963eeddd26d8bf93969de4190de1c5df029 /Lib/venv/__init__.py
parent6fd12f2b33d38f64566786ff309ce84da8e9277f (diff)
downloadcpython-1631b9b4b56323a0a85f1df6239058f6d2a40a13.zip
cpython-1631b9b4b56323a0a85f1df6239058f6d2a40a13.tar.gz
cpython-1631b9b4b56323a0a85f1df6239058f6d2a40a13.tar.bz2
Issue #19734: venv still needs isolated mode
Diffstat (limited to 'Lib/venv/__init__.py')
-rw-r--r--Lib/venv/__init__.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/venv/__init__.py b/Lib/venv/__init__.py
index 74a8235..3b5f5fa 100644
--- a/Lib/venv/__init__.py
+++ b/Lib/venv/__init__.py
@@ -237,7 +237,7 @@ class EnvBuilder:
# We run ensurepip in isolated mode to avoid side effects from
# environment vars, the current directory and anything else
# intended for the global Python environment
- cmd = [context.env_exe, '-m', 'ensurepip', '--upgrade',
+ cmd = [context.env_exe, '-Im', 'ensurepip', '--upgrade',
'--default-pip']
subprocess.check_output(cmd, stderr=subprocess.STDOUT)