[issue9313] distutils error on MSVC older than 8
Hirokazu Yamamoto
report at bugs.python.org
Mon Sep 13 07:43:59 CEST 2010
Hirokazu Yamamoto <ocean-city at m2.ccsnet.ne.jp> added the comment:
> I’ve heard about import deadlock issues, and performance is not an
> issue in tests, so there is no reason to import in the function
distutils.msvc9compiler imports winreg internally,
and it only exists on windows, so importing distutils.msvc9.....
compiler may raise ImportError on Linux. So I imported only when
sys.platform == "win32".
Committed in r84760(py3k). And will be merged into other branches.
----------
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue9313>
_______________________________________
More information about the Python-bugs-list
mailing list