[Python-Dev] Shouldn't I be able to print Unicode objects?

Tim Peters tim@digicool.com
Tue, 5 Jun 2001 17:16:03 -0400


[MAL, to Skip]
> Huh ? That should not be possible ! Python literals are still
> ASCII.
>
> >>> ümlaut = 'ümlaut'
>   File "<stdin>", line 1
>     ümlaut = 'ümlaut'
>     ^
> SyntaxError: invalid syntax

That was Guido's intent, and what the Ref Man says, but the tokenizer uses
C's isalpha() so in reality it's locale-dependent.  I think at least one
German on Python-Dev has already threatened to kill him if he ever fixes
this bug <wink>.