On Thu, 24 May 2007, [ISO-8859-1] "Martin v. L?wis" wrote:
> > Much of my concerns could be addressed through the use of commandline,
> > environment variable, or in-source code definitions of what are
> > allowable identifier characters.
[...]
> Not sure (anymore) what problem you are trying to solve, but it might be
> that the coding directive already *is* the solution. If you want to
> constrain characters that you can use in a single source file, adding
> a coding directive will automatically impose such a constraint (namely,
> to the characters available in the encoding).
>
> In particular, if you set the encoding to us-ascii, you have restricted
> your source file to ASCII only.

Alas, the coding directive is not good enough.  Have a look at this:

    http://zesty.ca/python/tricky.png

That's an image of a text editor containing some Python code.  Can you
tell whether running it (post-PEP-3131) will delete your .bashrc file?


-- ?!ng
_______________________________________________
Python-3000 mailing list
Python-3000@python.org
http://mail.python.org/mailman/listinfo/python-3000
Unsubscribe: 
http://mail.python.org/mailman/options/python-3000/archive%40mail-archive.com

Reply via email to