summaryrefslogtreecommitdiffstats
path: root/Misc
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 /Misc
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 'Misc')
-rw-r--r--Misc/NEWS.d/next/Library/2017-09-17-15-24-25.bpo-31351.yQdKv-.rst2
1 files changed, 2 insertions, 0 deletions
diff --git a/Misc/NEWS.d/next/Library/2017-09-17-15-24-25.bpo-31351.yQdKv-.rst b/Misc/NEWS.d/next/Library/2017-09-17-15-24-25.bpo-31351.yQdKv-.rst
new file mode 100644
index 0000000..20f2c1b
--- /dev/null
+++ b/Misc/NEWS.d/next/Library/2017-09-17-15-24-25.bpo-31351.yQdKv-.rst
@@ -0,0 +1,2 @@
+python -m ensurepip now exits with non-zero exit code if pip bootstrapping
+has failed.