diff options
author | Igor Filatov <iafilatov@users.noreply.github.com> | 2017-09-21 10:07:45 (GMT) |
---|---|---|
committer | Nick Coghlan <ncoghlan@gmail.com> | 2017-09-21 10:07:45 (GMT) |
commit | 9adda0cdf89432386b7a04444a6199b580d287a1 (patch) | |
tree | f43b624c8d4fb6cbfc70ee2070084e5f4dd2c2c2 /Doc/library/ensurepip.rst | |
parent | a96c96f5dab68d4e611af4b8caefd7268533fd9a (diff) | |
download | cpython-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.rst | 3 |
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 ---------- |