]> granicus.if.org Git - python/commit
bpo-31351: Set return code in ensurepip when pip fails (GH-3626)
authorIgor Filatov <iafilatov@users.noreply.github.com>
Thu, 21 Sep 2017 10:07:45 +0000 (13:07 +0300)
committerNick Coghlan <ncoghlan@gmail.com>
Thu, 21 Sep 2017 10:07:45 +0000 (20:07 +1000)
commit9adda0cdf89432386b7a04444a6199b580d287a1
treef43b624c8d4fb6cbfc70ee2070084e5f4dd2c2c2
parenta96c96f5dab68d4e611af4b8caefd7268533fd9a
bpo-31351: Set return code in ensurepip when pip fails (GH-3626)

Previously ensurepip would always report success, even if the
pip installation failed.
Doc/library/ensurepip.rst
Lib/ensurepip/__init__.py
Lib/ensurepip/__main__.py
Lib/ensurepip/_uninstall.py
Lib/test/test_ensurepip.py
Misc/NEWS.d/next/Library/2017-09-17-15-24-25.bpo-31351.yQdKv-.rst [new file with mode: 0644]