diff options
author | Éric Araujo <merwok@netwok.org> | 2014-03-13 08:55:35 (GMT) |
---|---|---|
committer | Éric Araujo <merwok@netwok.org> | 2014-03-13 08:55:35 (GMT) |
commit | 45fc8713bda1bfd6c0de3c6f493a4eeff52acbe3 (patch) | |
tree | 13effb36b719b9563f8187249511b43ed03c4374 /Misc | |
parent | 966f2fca5fbf4d8d1196bc0014be4e9f7d4d2c10 (diff) | |
download | cpython-45fc8713bda1bfd6c0de3c6f493a4eeff52acbe3.zip cpython-45fc8713bda1bfd6c0de3c6f493a4eeff52acbe3.tar.gz cpython-45fc8713bda1bfd6c0de3c6f493a4eeff52acbe3.tar.bz2 |
Make distutils error messages more helpful (#11599).
When running external programs such as a C compiler and getting an
error code, distutils only prints the program name. With this change,
one can get the full command line by setting the DISTUTILS_DEBUG
environment variable.
This should have no compatibility issues, unless there are tools
that depend on the exact format of distutils debug messages.
Diffstat (limited to 'Misc')
-rw-r--r-- | Misc/NEWS | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -16,6 +16,10 @@ Library - Issue #20875: Prevent possible gzip "'read' is not defined" NameError. Patch by Claudiu Popa. +- Issue #11599: When an external command (e.g. compiler) fails, distutils now + prints out the whole command line (instead of just the command name) if the + environment variable DISTUTILS_DEBUG is set. + - Issue #4931: distutils should not produce unhelpful "error: None" messages anymore. distutils.util.grok_environment_error is kept but doc-deprecated. |