[Python-3000] Support for PEP 3131

Jim Jewett jimjjewett at gmail.com
Fri May 25 19:04:31 CEST 2007


On 5/25/07, BJörn Lindqvist <bjourne at gmail.com> wrote:

> I think you are forgetting who this feature is intended for.

[I think experienced programmers will in fact use it too, but agree that ...]

> Newbies, on the other hand, would maybe appreciate being able to write:
...
> If Python required a switch for such a program to run, then this
> feature would be totally wasted on them. They might use an IDE,
> program in notepad.exe and dragging the file to the python.exe icon or
> not even know about cmd.exe or what a command line switch is. An error
> message, even an informal one, isn't easy to understand if you don't
> know English.

How about a default file, such as

"on launch, python looks for pyidchar.txt ... if you want to override
this default file do XYZ"

The default default file would be empty (except for comments
explaining the syntax) and allow only ASCII.  A Swedish volunteer
could create and distribute a version for Swedish characters.  (And
since these would be fairly small text files, some could probably be
distributed right in the primary distribution.)

What the teacher installs python, she just uses the Swedish
distribution, or picks the "also allow Latin1 IDs" option from the
custom MSI install.

-jJ


More information about the Python-3000 mailing list