Message179830
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. |
|
Date |
User |
Action |
Args |
2013-01-12 21:09:38 | ronaldoussoren | set | recipients:
+ ronaldoussoren, jackjansen, dalke, skiolding, ihavetopee, BreamoreBoy, dcolish, jjw |
2013-01-12 21:09:37 | ronaldoussoren | set | messageid: <1358024977.81.0.413797492247.issue1602133@psf.upfronthosting.co.za> |
2013-01-12 21:09:37 | ronaldoussoren | link | issue1602133 messages |
2013-01-12 21:09:37 | ronaldoussoren | create | |
|