[Python-3000] Support for PEP 3131

Jim Jewett jimjjewett at gmail.com
Mon Jun 11 23:55:58 CEST 2007


On 6/11/07, "Martin v. Löwis" <martin at v.loewis.de> wrote:
> > Chinese in particular you would recognize as "not what I expected".
> > Cyrillic you might not recognize, because it looks like ASCII letters.

> Please take a look at http://ru.wikipedia.org/wiki/Python

> In what way does that look like ASCII letters? Cyrillic is
> *significantly* different from Latin.

In long stretches of long words, yes.  In isolated abbreviations, not
so much.  From the second key-value pair in the top box, the value is

    интерпретатор

I can tell that isn't english, but I have to slow down a bit before I
recognize that it isn't ASCII.  (The "N" is backwards, and the
"n"-looking thing between the "p"s isn't quite an n.)

    нтерретатор

I wouldn't recognize at all (except that for the next few weeks, I
might know to check).

One reason this matters -- even when the original author had good
intentions -- is that I edit my code as text, rather than graphics.  I
will often retype rather than cutting and pasting.  Since тор and нтер
are not the same as the visually similar Top and HTep, that will
eventually cause problems.

If I can say "I accept Latin-1, but not Cyrillic", then I won't have
this problem; at the very least, I will be forewarned.

-jJ


More information about the Python-3000 mailing list