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

Barry Warsaw barry at python.org
Thu Nov 9 14:39:20 EST 2017


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

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: Message signed with OpenPGP
URL: <http://mail.python.org/pipermail/python-dev/attachments/20171109/63c85c84/attachment.sig>


More information about the Python-Dev mailing list