From: Christian Heimes <christian@cheimes.de>
Date: Fri, 28 Nov 2008 11:05:17 +0000 (+0000)
Subject: Merged revisions 67414 via svnmerge from
X-Git-Tag: v3.0~47
X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=94e0772989073d207855a787a59f863f79230771;p=python

Merged revisions 67414 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r67414 | christian.heimes | 2008-11-28 12:02:32 +0100 (Fri, 28 Nov 2008) | 1 line

  Fixed issue ##3741: DISTUTILS_USE_SDK set causes msvc9compiler.py to raise an exception
........
---

diff --git a/Lib/distutils/msvc9compiler.py b/Lib/distutils/msvc9compiler.py
index 465013dc33..eced0524b8 100644
--- a/Lib/distutils/msvc9compiler.py
+++ b/Lib/distutils/msvc9compiler.py
@@ -316,7 +316,7 @@ class MSVCCompiler(CCompiler) :
         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
diff --git a/Misc/NEWS b/Misc/NEWS
index 0ff809cbc8..6c1a0f1cd5 100644
--- a/Misc/NEWS
+++ b/Misc/NEWS
@@ -24,6 +24,9 @@ Core and Builtins
 Library
 -------
 
+- Issue #3741: DISTUTILS_USE_SDK set causes msvc9compiler.py to raise an
+  exception.
+
 - Issue #4433: Fixed an access violation when garbage collecting
   _ctypes.COMError instances.