[Python-Dev] PEP 393 Summer of Code Project

"Martin v. Löwis" martin at v.loewis.de
Thu Aug 25 09:45:48 CEST 2011


>  > What is non-conforming about comparing two code points?
> 
> Unicode conformance means treating characters correctly.

Re-read the text. You are interpreting something that isn't there.


>  > Seriously, what does Unicode-conforming mean here?
> 
> Chapter 3, all verses.  Here, specifically C6, p. 60.  One would have
> to define the process executing "s1[0] == s2[0]" to be sure that even
> in the cases cited in the previous paragraph non-conformance is
> occurring

No, that's explicitly *not* what C6 says. Instead, it says that a
process that treats s1 and s2 differently shall not assume that others
will do the same, i.e. that it is ok to treat them the same even though
they have different code points. Treating them differently is also
conforming.

Regards,
Martin


More information about the Python-Dev mailing list