diff options
author | Éric Araujo <merwok@netwok.org> | 2011-07-29 02:31:39 +0200 |
---|---|---|
committer | Éric Araujo <merwok@netwok.org> | 2011-07-29 02:31:39 +0200 |
commit | 943006bf68825ea007a1941f8afb09d202868988 (patch) | |
tree | f7d101eead53c8d2b69f10210fdafe798d4fc6d1 /Lib/pydoc.py | |
parent | 73c175f5a0a7e749357e74f518c89b716b7e34b2 (diff) | |
download | cpython-git-943006bf68825ea007a1941f8afb09d202868988.tar.gz |
Let all pysetup actions return a meaningful 0 or 1 exit code (#12222).
This will help scripts calling pysetup know if a command failed.
Printing/logging was also made more consistent, and a few things were
cleaned up. In particular, the error/Ctrl-C handling was moved from the
_run function up to the main function.
The run action is not fixed yet; it returns the dist.Distribution
instance, which is needed by test_uninstall and not trivial to fix.
Diffstat (limited to 'Lib/pydoc.py')
0 files changed, 0 insertions, 0 deletions