[issue3741] DISTUTILS_USE_SDK set causes msvc9compiler.py to raise an exception

Christian Boos report at bugs.python.org
Thu Oct 9 12:06:11 CEST 2008


Christian Boos <cboos at neuf.fr> added the comment:

Hit the same issue, which is actually only a typo, as self.__path is 
used nowhere.

diff -r 4d10dcbd5f63 Lib/distutils/msvc9compiler.py
--- a/Lib/distutils/msvc9compiler.py    Thu Oct 09 11:19:40 2008 +0200
+++ b/Lib/distutils/msvc9compiler.py    Thu Oct 09 12:01:27 2008 +0200
@@ -316,7 +316,7 @@
         self.__version = VERSION
         self.__root = r"Software\Microsoft\VisualStudio"
         # self.__macros = MACROS
-        self.__path = []
+        self.__paths = []
         # target platform (.plat_name is consistent with 'bdist')
         self.plat_name = None
         self.__arch = None # deprecated name

----------
nosy: +cboos

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue3741>
_______________________________________


More information about the Python-bugs-list mailing list