homepage

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 vstinner
Recipients Arfrever, nanjekyejoannah, petere, vstinner
Date 2019年09月06日.13:29:51
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1567776591.91.0.426353494019.issue14689@roundup.psfhosted.org>
In-reply-to
Content
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 is the PEP 587 which has been implemented in Python 3.8.
If you use the "Python Configuration", you now get the same behaviour than system Python program ("python"). Or you can use "Isolated Configuration" but opt-in for environment variables. Or you can modify PyConfig.warnoptions:
https://docs.python.org/dev/c-api/init_config.html#c.PyConfig.warnoptions
So you know have plently of choices to use PYTHONWARNINGS env var when you embed Python.
Good news: Python 3.8 beta4 is now available for testing!
History
Date User Action Args
2019年09月06日 13:29:51vstinnersetrecipients: + vstinner, Arfrever, petere, nanjekyejoannah
2019年09月06日 13:29:51vstinnersetmessageid: <1567776591.91.0.426353494019.issue14689@roundup.psfhosted.org>
2019年09月06日 13:29:51vstinnerlinkissue14689 messages
2019年09月06日 13:29:51vstinnercreate

AltStyle によって変換されたページ (->オリジナル) /