[Python-checkins] r66171 - in python/trunk: Lib/distutils/msvc9compiler.py Misc/NEWS
M.-A. Lemburg
mal at egenix.com
Wed Sep 3 12:43:39 CEST 2008
On 2008-09-03 12:28, Nick Coghlan wrote:
> amaury.forgeotdarc wrote:
>> Author: amaury.forgeotdarc
>> Date: Wed Sep 3 01:19:56 2008
>> New Revision: 66171
>>
>> Log:
>> Issue 2975: when compiling multiple extension modules with visual studio 2008
>> from the same python instance, some environment variables (LIB, INCLUDE)
>> would grow without limit.
>>
>> Tested with these statements:
>> distutils.ccompiler.new_compiler().initialize()
>> print os.environ['LIB']
>> But I don't know how to turn them into reliable unit tests.
>
> test_cmd_line and test_cmd_line_script give some examples of spawning
> new Python processes in order to test things that you don't want to run
> in the current process.
You'd have to make those tests optional, since they would only work
with a proper VS2008 installation.
Note that the helper function should really be called
remove_duplicates(variable) to stay in line with distutils
and PEP8 conventions.
--
Marc-Andre Lemburg
eGenix.com
Professional Python Services directly from the Source (#1, Sep 03 2008)
>>> Python/Zope Consulting and Support ... http://www.egenix.com/
>>> mxODBC.Zope.Database.Adapter ... http://zope.egenix.com/
>>> mxODBC, mxDateTime, mxTextTools ... http://python.egenix.com/
________________________________________________________________________
:::: Try mxODBC.Zope.DA for Windows,Linux,Solaris,MacOSX for free ! ::::
eGenix.com Software, Skills and Services GmbH Pastor-Loeh-Str.48
D-40764 Langenfeld, Germany. CEO Dipl.-Math. Marc-Andre Lemburg
Registered at Amtsgericht Duesseldorf: HRB 46611
More information about the Python-checkins
mailing list