[issue14689] make PYTHONWARNINGS variable work in libpython

2019-09-06 Thread STINNER Victor
STINNER Victor added the comment: I close the issue since it's now fixed ;-) -- resolution: -> fixed stage: patch review -> resolved status: open -> closed versions: +Python 3.8 -Python 3.5 ___ Python tracker _

[issue14689] make PYTHONWARNINGS variable work in libpython

2019-09-06 Thread STINNER Victor
STINNER Victor added the comment: I refactored deeply Modules/main.c and moved the code to Python/initconfig.c and Python/preconfig.c. There is now a public C API to access to all configuration parameters documented at: https://docs.python.org/dev/c-api/init_config.html The design document i

[issue14689] make PYTHONWARNINGS variable work in libpython

2019-09-05 Thread Joannah Nanjekye
Joannah Nanjekye added the comment: @petere do you want to open a PR with your patch here: https://github.com/python/cpython/pulls -- nosy: +nanjekyejoannah ___ Python tracker __

[issue14689] make PYTHONWARNINGS variable work in libpython

2019-04-26 Thread Mark Lawrence
Change by Mark Lawrence : -- nosy: -BreamoreBoy ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail

[issue14689] make PYTHONWARNINGS variable work in libpython

2014-07-16 Thread Mark Lawrence
Mark Lawrence added the comment: Can we have a patch review please, I'm not touching C code at that level within Python. Are people happy with the concept of moving code from main.c to pythonrun.c ? -- nosy: +BreamoreBoy versions: +Python 3.5 -Python 3.3 _

[issue14689] make PYTHONWARNINGS variable work in libpython

2013-02-01 Thread Brett Cannon
Changes by Brett Cannon : -- nosy: -brett.cannon ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.p

[issue14689] make PYTHONWARNINGS variable work in libpython

2012-04-28 Thread Arfrever Frehtes Taifersar Arahesis
Changes by Arfrever Frehtes Taifersar Arahesis : -- nosy: +Arfrever ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscri

[issue14689] make PYTHONWARNINGS variable work in libpython

2012-04-28 Thread Antoine Pitrou
Changes by Antoine Pitrou : -- nosy: +brett.cannon stage: -> patch review ___ Python tracker ___ ___ Python-bugs-list mailing list Un

[issue14689] make PYTHONWARNINGS variable work in libpython

2012-04-28 Thread Peter Eisentraut
New submission from Peter Eisentraut : 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, t