[Python-checkins] r66171 - in python/trunk: Lib/distutils/msvc9compiler.py Misc/NEWS

Nick Coghlan ncoghlan at gmail.com
Wed Sep 3 12:28:20 CEST 2008


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.

Cheers,
Nick.

-- 
Nick Coghlan   |   ncoghlan at gmail.com   |   Brisbane, Australia
---------------------------------------------------------------
            http://www.boredomandlaziness.org


More information about the Python-checkins mailing list