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 BreamoreBoy, dalke, dcolish, ihavetopee, jackjansen, jjw, ronaldoussoren, skiolding
Date 2013-01-12.21:09:37
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1358024977.81.0.413797492247.issue1602133@psf.upfronthosting.co.za>
In-reply-to
Content
I appear to be running into this as well in py2app, with the current 2.7 tree and a --enable-shared build py2app's updates to the environment (with setenv from C code) won't be seen by Python, even though Python is initialized after the call to setenv.

The patch doesn't work for me though: with the patch the build fails because os.environ no longer contains 'PATH'. I'm looking into this issue.

The basic idea of the patch seems sane, both posixmodule.c and crt_externs.h mention that the call is needed for shared libraries.
History
Date User Action Args
2013-01-12 21:09:38ronaldoussorensetrecipients: + ronaldoussoren, jackjansen, dalke, skiolding, ihavetopee, BreamoreBoy, dcolish, jjw
2013-01-12 21:09:37ronaldoussorensetmessageid: <1358024977.81.0.413797492247.issue1602133@psf.upfronthosting.co.za>
2013-01-12 21:09:37ronaldoussorenlinkissue1602133 messages
2013-01-12 21:09:37ronaldoussorencreate