Amaury Forgeot d'Arc <amaur...@gmail.com> added the comment: The problem has two causes: - IOError is raised when no compiler is found. DistutilsPlatformError should be used instead, this was fixed by #4702.
- the distutils.util.grok_environment_error function transforms a IOError("Unable to find vcvarsall.bat") into "error: None". This function should not be used IMO. Its docstring claims that it "Handles Python 1.5.1 and 1.5.2 styles", but str() does a better job... Patch attached. ---------- keywords: +needs review, patch nosy: +amaury.forgeotdarc Added file: http://bugs.python.org/file12739/distutils_ioerror.patch _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue4931> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com