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

Inada Naoki songofacandy at gmail.com
Sat May 4 04:45:38 EDT 2019


2019年5月3日(金) 4:59 Victor Stinner <vstinner at redhat.com>:
>
> * PyConfig now only uses wchar_t* for strings (unicode): char* (bytes)
> is no longer used. I had to hack CPython internals for that :-)

I prefer char* to wchar_t* on Unix.  Since UTF-8 dominated Unix world
in these decades, wchar_t* is less usable on Unix nowadays.

Is it impossible to use just char* on Unix and wchar_t* on Windows?

-- 
Inada Naoki  <songofacandy at gmail.com>


More information about the Python-Dev mailing list