[Python-3000] String comparison

Guido van Rossum guido at python.org
Wed Jun 13 22:03:39 CEST 2007


On 6/13/07, Stephen J. Turnbull <stephen at xemacs.org> wrote:
> Rauli Ruohonen writes:
>
>  > What I meant is that the stdlib should only have string operations
>  > that effectively work on (1) sequences of code units or (2)
>  > sequences of code points, and that the choice between these two
>  > should be made reasonably.
>
> I think we've reached a dead end.  AIUI, that's a matter for a PEP,
> and the window for Python 3 is closed.  I'm pretty sure that Python 3
> is going to have sequences of code units only (I know, Guido said
> "code points", but I doubt he's read TR#17), except that people will
> sneak in some UTF-16 behavior where it seems useful.
>
> Until one or more of the senior developers says otherwise, I'm going
> to assume that.

Yeah, what's the difference between code units and points?

-- 
--Guido van Rossum (home page: http://www.python.org/~guido/)


More information about the Python-3000 mailing list