Message325010
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:51 | ncoghlan | set | recipients:
+ ncoghlan, vstinner, ned.deily |
2018-09-11 14:38:51 | ncoghlan | set | messageid: <1536676731.95.0.0269046726804.issue34589@psf.upfronthosting.co.za> |
2018-09-11 14:38:51 | ncoghlan | link | issue34589 messages |
2018-09-11 14:38:51 | ncoghlan | create | |
|