summaryrefslogtreecommitdiffstats
path: root/Doc/library
diff options
context:
space:
mode:
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>2017-09-22 13:45:37 (GMT)
committerMariatta <Mariatta@users.noreply.github.com>2017-09-22 13:45:37 (GMT)
commiteef49f5dd021d15396551880cf451042a79a1107 (patch)
treee6032d3589e0e8600929cba82a5adbff1d3d0f63 /Doc/library
parent0c4997f1919d8583353b12537a63dcbe7b9d280f (diff)
downloadcpython-eef49f5dd021d15396551880cf451042a79a1107.zip
cpython-eef49f5dd021d15396551880cf451042a79a1107.tar.gz
cpython-eef49f5dd021d15396551880cf451042a79a1107.tar.bz2
bpo-31351: Set return code in ensurepip when pip fails (GH-3626) (GH-3683)
Previously ensurepip would always report success, even if the pip installation failed. (cherry picked from commit 9adda0cdf89432386b7a04444a6199b580d287a1) * Update version changed notice for backport
Diffstat (limited to 'Doc/library')
-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..652339e 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.6.3
+ The exit status is non-zero if the command fails.
+
Module API
----------