python 2.7 and unicode (one more time)

random832 at fastmail.us random832 at fastmail.us
Sat Nov 22 20:35:53 EST 2014


On Fri, Nov 21, 2014, at 23:38, Steven D'Aprano wrote:
> I really don't understand what bothers you about this. In Python, we have
> Unicode strings and byte strings. In computing in general, strings can
> consist of Unicode characters, ASCII characters, Tron characters, EBCDID
> characters, ISO-8859-7 characters, and literally dozens of others. It
> boogles my mind that you are so opposed to being explicit about what sort
> of string we are dealing with.

I think he means that it should be implementation-defined with an API
that does not allow programs to make assumptions about the encoding,
like C. To allow for implementations that use a different character set.



More information about the Python-list mailing list