summaryrefslogtreecommitdiffstats
path: root/Doc/library/ensurepip.rst
diff options
context:
space:
mode:
authorIgor Filatov <iafilatov@users.noreply.github.com>2017-09-21 10:07:45 (GMT)
committerNick Coghlan <ncoghlan@gmail.com>2017-09-21 10:07:45 (GMT)
commit9adda0cdf89432386b7a04444a6199b580d287a1 (patch)
treef43b624c8d4fb6cbfc70ee2070084e5f4dd2c2c2 /Doc/library/ensurepip.rst
parenta96c96f5dab68d4e611af4b8caefd7268533fd9a (diff)
downloadcpython-9adda0cdf89432386b7a04444a6199b580d287a1.zip
cpython-9adda0cdf89432386b7a04444a6199b580d287a1.tar.gz
cpython-9adda0cdf89432386b7a04444a6199b580d287a1.tar.bz2
bpo-31351: Set return code in ensurepip when pip fails (GH-3626)
Previously ensurepip would always report success, even if the pip installation failed.
Diffstat (limited to 'Doc/library/ensurepip.rst')
-rw-r--r--Doc/library/ensurepip.rst3
1 files changed, 3 insertions, 0 deletions
diff --git a/Doc/library/ensurepip.rst b/Doc/library/ensurepip.rst
index c797f63..ed22180 100644
--- a/Doc/library/ensurepip.rst
+++ b/Doc/library/ensurepip.rst
@@ -78,6 +78,9 @@ options:
Providing both of the script selection options will trigger an exception.
+.. versionchanged:: 3.7.0
+ The exit status is non-zero if the command fails.
+
Module API
----------