diff options
author | Tim Peters <tim.peters@gmail.com> | 2005-03-11 17:20:43 (GMT) |
---|---|---|
committer | Tim Peters <tim.peters@gmail.com> | 2005-03-11 17:20:43 (GMT) |
commit | c13c04007d9ab67c5f0dad3486469085fe35c1b2 (patch) | |
tree | 196aaa92819b15ecb312f40e16201148ce02971f /Lib | |
parent | 64c40c49aa476e6998d8d4d9eaaeeb15d8a2b59b (diff) | |
download | cpython-c13c04007d9ab67c5f0dad3486469085fe35c1b2.zip cpython-c13c04007d9ab67c5f0dad3486469085fe35c1b2.tar.gz cpython-c13c04007d9ab67c5f0dad3486469085fe35c1b2.tar.bz2 |
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.
This doesn't appear to be an issue on the HEAD (MSVCCompiler initializes
itself via __init__() on the HEAD).
Also added a "2.4.1c2" section to NEWS. Not meant to imply that Anthony
will do a 2.4.1c2 release, just needed to a place to put the news about the
MSVCCompiler bugfix.
Diffstat (limited to 'Lib')
-rw-r--r-- | Lib/distutils/msvccompiler.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Lib/distutils/msvccompiler.py b/Lib/distutils/msvccompiler.py index 8106df6..7f0844f 100644 --- a/Lib/distutils/msvccompiler.py +++ b/Lib/distutils/msvccompiler.py @@ -255,6 +255,8 @@ class MSVCCompiler (CCompiler) : ] self.ldflags_static = [ '/nologo'] + self.initialized = True + # -- Worker methods ------------------------------------------------ |