Message159514
The environment variable PYTHONWARNINGS only works with the python interpreter binary, but not with programs embedding libpython. This could be changed by moving the code from Modules/main.c to Python/pythonrun.c. See attached patch (compiles cleanly, tests pass, not tested on Windows).
(I have checked all the other environment variables listed on the python man page for whether those that could be usable in the library are actually processed in the library, and all but PYTHONWARNINGS appear to behave reasonably.) |
|
Date |
User |
Action |
Args |
2012-04-28 09:56:05 | petere | set | recipients:
+ petere |
2012-04-28 09:56:05 | petere | set | messageid: <1335606965.58.0.412104204254.issue14689@psf.upfronthosting.co.za> |
2012-04-28 09:56:04 | petere | link | issue14689 messages |
2012-04-28 09:56:04 | petere | create | |
|