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" <solip...@pitrou.net>:

On Fri, 26 Jan 2018 22:33:36 +0900
INADA Naoki <songofaca...@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@python.org
https://mail.python.org/mailman/listinfo/python-ideas
Code of Conduct: http://python.org/psf/codeofconduct/
_______________________________________________
Python-ideas mailing list
Python-ideas@python.org
https://mail.python.org/mailman/listinfo/python-ideas
Code of Conduct: http://python.org/psf/codeofconduct/

Reply via email to