CAM-Gerlach
(C.A.M. Gerlach)
Closed
February 9, 2024, 12:02am
55
PEP discussion continues on the new round 2 thread per @vstinner 's comment; archiving this one to avoid others missing that and bifurcating the discussion. Thanks!
Hi,
I wrote a major update of my PEP 741 “Python Configuration C API (second version)” to address most, if not all, requests in the previous discussion .
=> Read the updated PEP 741 <=
See the Commit of the PEP 741 update .
Changes (incomplete list):
PyInitConfig_SetStr() and PyInitConfig_SetStrList() now expect UTF-8 encoded string, instead of strings encoded to the locale encoding.
Add PyInitConfig_SetStrLocale() and PyInitConfig_SetStrLocaleList() functions which expect null-terminate…