[Python-Dev] _PyUnicode_CheckConsistency() too strict?

Ethan Furman ethan at stoneleaf.us
Mon Feb 3 18:36:49 CET 2014


On 02/03/2014 09:16 AM, Phil Thompson wrote:
>
> So there *is* code that will fail if a particular Latin-1 string just
> happens not to contains any character greater than  127?

Yes, because if it does not contain a character > 127 it is not a latin-1 string as far as Python is concerned.

--
~Ethan~


More information about the Python-Dev mailing list