[Python-Dev] RFC: PEP 587 "Python Initialization Configuration": 2nd version

Sebastian Koslowski sebastian.koslowski at gmail.com
Wed May 15 02:37:43 EDT 2019


On Tue, May 14, 2019, 19:52 Steve Dower <steve.dower at python.org> wrote:

> It looks like Py_DecodeLocale() is available very early on - why
> wouldn't we recommend using this function? It seems to be nearly a
> drop-in replacement for mbtowcs in the samples, and if memory allocation
> is a big deal perhaps we could just add a version that writes to a buffer?
>
>
Actually, it is recommended in the docs
https://docs.python.org/3/c-api/init.html#c.Py_SetPythonHome

Sebastian
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-dev/attachments/20190515/b44cde04/attachment.html>


More information about the Python-Dev mailing list