[Python-checkins] python/dist/src/Lib/distutils msvccompiler.py, 1.67, 1.68

tim_one at users.sourceforge.net tim_one at users.sourceforge.net
Sat Mar 12 20:06:01 CET 2005


Update of /cvsroot/python/python/dist/src/Lib/distutils
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv11712/Lib/distutils

Modified Files:
	msvccompiler.py 
Log Message:
Port bugfix from 2.4 maint.

Bug #1160802:  Can't build Zope on Windows w/ 2.4.1c1.

MSVCCompiler.initialize():  set self.initialized to True, as suggested
by AMK.  Else we keep growing the PATH endlessly, with each new C
extension built, until putenv() complains.

No change to NEWS because the patch that created this bug is also new
for 2.5a1 (so there's no change here to any code yet released from HEAD).


Index: msvccompiler.py
===================================================================
RCS file: /cvsroot/python/python/dist/src/Lib/distutils/msvccompiler.py,v
retrieving revision 1.67
retrieving revision 1.68
diff -u -d -r1.67 -r1.68
--- msvccompiler.py	5 Mar 2005 05:32:14 -0000	1.67
+++ msvccompiler.py	12 Mar 2005 19:05:58 -0000	1.68
@@ -255,6 +255,7 @@
                 ]
         self.ldflags_static = [ '/nologo']
 
+        self.initialized = True
 
     # -- Worker methods ------------------------------------------------
 



More information about the Python-checkins mailing list