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  <songofaca...@gmail.com>
_______________________________________________
Python-Dev mailing list -- python-dev@python.org
To unsubscribe send an email to python-dev-le...@python.org
https://mail.python.org/mailman3/lists/python-dev.python.org/
Message archived at 
https://mail.python.org/archives/list/python-dev@python.org/message/KLICTHLKXCSHOMG3LEZLFTDMWJIJA2U4/
Code of Conduct: http://python.org/psf/codeofconduct/

Reply via email to