Message78070
Python 2.6's new msvc9compiler misbehaves when it can't find a compiler
(actually a utility of the missing compiler) in its query_vcvarsall() --
it raises an IOError instead of a typical distutils error
build tools expect a consistent set of potential exceptions from the
compiler suites, such as CCompilerError, DistutilsExecError,
DistutilsPlatformError, etc. Distributions like simplejson, Genshi, etc.
look for these errors when compiling their optional C extension speedups
as an indication that there's no compiler, and to fallback to their pure
python counterparts
An IOError in this case just doesn't make sense
This patch changes them to DistutilsExecErrors. Maybe it should be
DistutilsPlatformError -- whatever, just not IOError
I think this should be included in 2.6.2 |
|
Date |
User |
Action |
Args |
2008-12-19 21:33:09 | pjenvey | set | recipients:
+ pjenvey |
2008-12-19 21:33:09 | pjenvey | set | messageid: <1229722389.12.0.525860035611.issue4702@psf.upfronthosting.co.za> |
2008-12-19 21:33:08 | pjenvey | link | issue4702 messages |
2008-12-19 21:33:06 | pjenvey | create | |
|