A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://mail.python.org/pipermail/python-dev/2001-June/015287.html below:

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

[Python-Dev] Shouldn't I be able to print Unicode objects? [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>.




RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4