[Python-ideas] Adding str.isascii() ?

INADA Naoki songofacandy at gmail.com
Fri Jan 26 10:12:53 EST 2018


No. See this mail.

https://mail.python.org/pipermail/python-ideas/2018-January/048748.html

Point is should we support invalid Unicode created by C API.
And I assume no.

2018/01/26 午後11:58 "Antoine Pitrou" <solipsis at pitrou.net>:

On Fri, 26 Jan 2018 22:33:36 +0900
INADA Naoki <songofacandy at gmail.com>
wrote:
> >
> > Can you create a simple test-case that proves this?
>
> Sure.

I think the question assumed "without writing custom C or ctypes code
that deliberately builds a non-conformant unicode object" ;-)

Regards

Antoine.


_______________________________________________
Python-ideas mailing list
Python-ideas at python.org
https://mail.python.org/mailman/listinfo/python-ideas
Code of Conduct: http://python.org/psf/codeofconduct/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-ideas/attachments/20180127/0d1ab1da/attachment-0001.html>


More information about the Python-ideas mailing list