[New-bugs-announce] [issue25316] distutils: broken error reporting about vcvarsall.bat
Marius Gedminas
report at bugs.python.org
Mon Oct 5 09:19:45 CEST 2015
New submission from Marius Gedminas:
When you try to build a C extension on Windows without having a C compiler, distutils tries to raise DistutilsPlatformError("Unable to find vcvarsall.bat"). However, on Python 3.5, it doesn't do that -- instead it lets a WinError(2 "no such file or directory") from _find_vcvarsall escape.
This breaks packages such as zope.interface that ship optional C modules for faster execution, but would like to work on people's computers even when there is no C compiler. See https://github.com/zopefoundation/zope.interface/issues/24 for details.
----------
components: Distutils
messages: 252308
nosy: dstufft, eric.araujo, mgedmin
priority: normal
severity: normal
status: open
title: distutils: broken error reporting about vcvarsall.bat
type: behavior
versions: Python 3.5
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue25316>
_______________________________________
More information about the New-bugs-announce
mailing list