[Python-Dev] Re: PEP: Defining Unicode Literal Encodings (revision 1.1)
Paul Prescod
paulp at ActiveState.com
Sun Jul 15 13:15:28 EDT 2001
Guido van Rossum wrote:
>
> Explain again why a directive is better than a specially marked
> comment, when your main goal seems to be to make it easy for
> non-parsing tools like editors to find it?
>...
Parsing tools do need it. The directive changes the file's semantics.
Both parsing and non-parsing tools need it.
I could live with a comment but I think that that is actually harder to
implement so I don't understand the benefit...I'm still trying to
understand what tools we are protecting. compiler.py can be easily
fixed. The real parser/compiler can be easily fixed. The other tools
mostly take their cue from one of these two modules, right?
--
Take a recipe. Leave a recipe.
Python Cookbook! http://www.ActiveState.com/pythoncookbook
More information about the Python-list
mailing list