[Python-ideas] Delay evaluation of annotations
David Mertz
mertz at gnosis.cx
Sun Sep 25 15:14:01 EDT 2016
On Sep 25, 2016 11:54 AM, "אלעזר" <elazarg at gmail.com> wrote:
> Not that I think it's a killer argument, but why a red herring? Quick
search does not find such an explicit option in Gedit, PyDev and yes,
Notepad++.exe. It is not a common or default option.
This would equally be an argument against any syntax change, any new
keyword, and likewise any new built-in. Depending on what your editor does,
it would perhaps be an argument against new common names in the standard
library.
All of those might promote changes in tools. But the tools exist to aid
working with a language, not the other way around.
I would not want my editor to do that much highlighting distinction, but
assuming you do, all your comments defeat your own point. If an expression
being within an annotation merits different evaluation semantics, it is a
vastly smaller change to say a string being in an annotation merits
different syntax highlighting.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-ideas/attachments/20160925/b6d705cd/attachment-0001.html>
More information about the Python-ideas
mailing list