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 ncoghlan
Recipients ncoghlan, ned.deily, vstinner
Date 2018-09-11.14:38:51
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
FWIW, this is also why I don't want PEP 432 to expose any wstr fields in the configuration settings: it means embedding applications have to figure out which encoding Python is expecting to be used for those fields.

Everything should be much cleaner if the public API requires those settings to be provided as Py_Unicode objects, and the core configuration step takes care of getting the C API to the point where the embedding application can create Py_Unicode objects for passing to later steps.

The fact that CPython itself currently uses wstr to configure these settings should be considered a legacy implementation detail that we do our best to hide from the public API.
Date User Action Args
2018-09-11 14:38:51ncoghlansetrecipients: + ncoghlan, vstinner, ned.deily
2018-09-11 14:38:51ncoghlansetmessageid: <>
2018-09-11 14:38:51ncoghlanlinkissue34589 messages
2018-09-11 14:38:51ncoghlancreate