[issue4153] Unicode HOWTO up to date?

Éric Araujo report at bugs.python.org
Fri Sep 2 19:58:08 CEST 2011


Éric Araujo <merwok at netwok.org> added the comment:

Ah, I see: you’re equating “string” with “text string” or “character string”, whereas I read “bytes string” as “finite sequence of bytes”.  With this definition, there *are* two string types in Python 3, it’s just that they’re much more divorced than in 2.x.

> they should think that there are only Unicode strings
I’d say they should think that text processing should only happen with the one type dedicated to text, i.e. str.

> they can be converted to a bytes object (or simply to 'bytes')
Okay, +0 to use only “bytes object” (or “bytes” when it sounds better).

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue4153>
_______________________________________


More information about the Python-bugs-list mailing list