[Python-3000] Support for PEP 3131 (original) (raw)

"Martin v. Löwis" martin at v.loewis.de
Fri May 25 00:46:33 CEST 2007


Ka-Ping Yee schrieb:

On Thu, 24 May 2007, Jim Jewett wrote:

So how about

(1) By default, python allows only ASCII. (2) Additional characters are permitted if they appear in a table named on the command line. These additional characters should be restricted to code points larger than ASCII (so you can't easily turn "!" into an ID char), but beyond that, anything goes. If you want to include punctuation or undefined characters, so be it. +1! This is a fine solution. It is better than the "python -U" option I proposed

-2. Any solution found must also accommodate users which are unaware of the security issue, and just want to use their native language for identifiers. So requiring them to change their environment or pass additional command line parameters is unacceptable.

Jim's proposal appears to be the best path to making everyone happy.

Please do consider the needs of the people who want to actively use the feature as well. Otherwise, you have no chance of understanding what will make everyone happy.

Regards, Martin



More information about the Python-3000 mailing list