[Python-Dev] Re: Plan to remove Py_UNICODE APis except PEP 623.

2020年6月29日 03:56:03 -0700

Many existing public APIs doesn't have `const char *errors` argument.
As there are very few users, we can ignore that limitation.
On the other hand, some encoding have special options.
* UTF16 and UTF32; `int byteorder` parameter.
* UTF7; int base64SetO, int base64WhiteSpace
So PyUnicode_AsEncodedString can not replace them.
Regards,
-- 
Inada Naoki <[email protected]>
_______________________________________________
Python-Dev mailing list -- [email protected]
To unsubscribe send an email to [email protected]
https://mail.python.org/mailman3/lists/python-dev.python.org/
Message archived at 
https://mail.python.org/archives/list/[email protected]/message/KLICTHLKXCSHOMG3LEZLFTDMWJIJA2U4/
Code of Conduct: http://python.org/psf/codeofconduct/

Reply via email to