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/2002-July/026571.html below:

[Python-Dev] Re: PEP 263 - Defining Python Source Code Encodings

[Python-Dev] Re: PEP 263 - Defining Python Source Code Encodings [Python-Dev] Re: PEP 263 - Defining Python Source Code EncodingsGuido van Rossum guido@python.org
Mon, 15 Jul 2002 16:00:12 -0400
> If the PEP is implemented, IDLE will be able to honor the encoding
> declarations. As a side effect, this will allow you to edit UTF-8
> files in IDLE.

Who's gonna make the necessary changes to IDLE?

> Allowing arbitrary Unicode in identifiers is no challenge, either,
> except that __dict__ dictionaries may suddenly find Unicode as keys.
> I'm not sure what other implications this would have, so it definitely
> is a separate issue.

As long as the only use of 8-bit strings is to contain pure ASCII,
this shouldn't be a problem.

> Another issue with allowing Unicode is that a good definition of
> "letter" must be given (it clearly should not depend on the
> locale). The Unicode consortium gives guidelines, but those depend on
> the Unicode version.

I'd just use the isalpha() method of Unicode string objects.

--Guido van Rossum (home page: http://www.python.org/~guido/)




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