python 2.7 and unicode (one more time)

Chris Angelico rosuav at gmail.com
Fri Nov 21 17:52:52 CET 2014


On Sat, Nov 22, 2014 at 3:36 AM, Marko Rauhamaa <marko at pacujo.net> wrote:
> No need to hide Unicode, but talking about a
>
>    Unicode string
>
> is like talking about an
>
>    electronic computer
>
>    visible spectrum display
>
>    mouse user interface
>
>    ethernet socket
>
>    magnetic file
>
>    electric power supply
>
> The language spec calls the things just "strings," as it should.

I'm not sure what you mean here, because the adjectives all cut out
other common constructs - a byte string, an analog computer, an IR or
UV display, a blind-compatible UI, a Unix domain socket, an in-memory
file, and a diesel power supply. Okay, I'm pushing it with the last
one (they're usually called gen sets, not power supplies), and I don't
often hear people talk about "magnetic files", but the rest are
definitely valid comparison/contrast terms.

ChrisA



More information about the Python-list mailing list