osdir.com


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


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>