[Python-Dev] PEP 563: Postponed Evaluation of Annotations

Guido van Rossum guido at python.org
Thu Nov 9 14:51:54 EST 2017


If we have to change the name I'd vote for string_annotations -- "lazy" has
too many other connotations (e.g. it might cause people to think it's the
thunks). I find str_annotations too abbreviated, and stringify_annotations
is too hard to spell.

On Thu, Nov 9, 2017 at 11:39 AM, Barry Warsaw <barry at python.org> wrote:

> On Nov 8, 2017, at 23:57, Nick Coghlan <ncoghlan at gmail.com> wrote:
>
> > Putting that quibble first: could we adjust the feature flag to be
> > either "from __future__ import lazy_annotations" or "from __future__
> > import str_annotations"?
> >
> > Every time I see "from __future__ import annotations" I think "But
> > we've had annotations since 3.0, why would they need a future
> > import?".
>
> +1 for lazy_annotations for the same reason.
>
> -Barry
>
>
> _______________________________________________
> Python-Dev mailing list
> Python-Dev at python.org
> https://mail.python.org/mailman/listinfo/python-dev
> Unsubscribe: https://mail.python.org/mailman/options/python-dev/guido%
> 40python.org
>
>


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


More information about the Python-Dev mailing list