This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author ronaldoussoren
Recipients ronaldoussoren, srid, tarek
Date 2010-08-18.04:01:17
SpamBayes Score 3.8817e-09
Marked as misclassified No
Message-id <1282104079.67.0.0832909564225.issue9516@psf.upfronthosting.co.za>
In-reply-to
Content
I now understand why my script fails, and it is caused by this issue.

The sysconfig.py code has another major issue: the use of os.putenv. This changes the environment, without changing os.environ. The use of os.putenv should be replaced by setting keys in os.environ to make it easier to discover that changes have been made.

Even that is no good: setting the environment variable should only be done in distutils to ensure that the right build environment is used. It should not be set globally where it will affect code that it was never intended to affect.


BTW. Sridhar: could this be the reason you cannot find the correct reproduction steps for this?  Do you use a build script that is writting in python and run with a copy of python where sysconfig.get_config_var('MACOSX_DEPLOYMENT_TARGET') returns '10.3'?
History
Date User Action Args
2010-08-18 04:01:19ronaldoussorensetrecipients: + ronaldoussoren, tarek, srid
2010-08-18 04:01:19ronaldoussorensetmessageid: <1282104079.67.0.0832909564225.issue9516@psf.upfronthosting.co.za>
2010-08-18 04:01:18ronaldoussorenlinkissue9516 messages
2010-08-18 04:01:17ronaldoussorencreate