summaryrefslogtreecommitdiffstats
path: root/Lib
diff options
context:
space:
mode:
authorGreg Ward <gward@python.net>2000-05-30 02:04:29 (GMT)
committerGreg Ward <gward@python.net>2000-05-30 02:04:29 (GMT)
commit66ac93e6f7fbb1c9ac9b8e4e33bee4263976ec69 (patch)
treec616d2e987b5edf300cbbca4f990902aa33ee183 /Lib
parent3add77f6110346a2ee7d0baa1d159f6685970b8b (diff)
downloadcpython-66ac93e6f7fbb1c9ac9b8e4e33bee4263976ec69.zip
cpython-66ac93e6f7fbb1c9ac9b8e4e33bee4263976ec69.tar.gz
cpython-66ac93e6f7fbb1c9ac9b8e4e33bee4263976ec69.tar.bz2
Catch CCompiler exceptions in 'setup()'.
Diffstat (limited to 'Lib')
-rw-r--r--Lib/distutils/core.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/Lib/distutils/core.py b/Lib/distutils/core.py
index cd0f8e9..15a8814 100644
--- a/Lib/distutils/core.py
+++ b/Lib/distutils/core.py
@@ -122,7 +122,8 @@ def setup (**attrs):
except (DistutilsExecError,
DistutilsFileError,
- DistutilsOptionError), msg:
+ DistutilsOptionError,
+ CCompilerError), msg:
if DEBUG:
raise
else: