[Python-Dev] PEP 563: Postponed Evaluation of Annotations (original) (raw)

Guido van Rossum guido at python.org
Fri Nov 10 10:48:37 EST 2017


On Fri, Nov 10, 2017 at 1:20 AM, Lukasz Langa <lukasz at langa.pl> wrote:

Alright, we're on bikeshed territory now. Finally! :-)

I was always thinking about this as "static annotations". The fact they're strings at runtime is irrelevant for most people who will use this future. They don't want string annotations, they want them to not be evaluated on import time... they want them to be static. Also, "static typing" et al. I think it has a nice vibe to it. I admit "annotations" is too broad but "staticannotations" (or "stringannotations" ¯_(ツ)/¯ ) will be the longest future name so far. That was my main motivation behind using the shorter name. And a bit of megalomania I guess.

I don't mind the long name. Of all the options so far I really only like 'string_annotations' so let's go with that.

-- --Guido van Rossum (python.org/~guido) -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://mail.python.org/pipermail/python-dev/attachments/20171110/5ab6e79b/attachment.html>



More information about the Python-Dev mailing list