[Python-Dev] PEP 563: Postponed Evaluation of Annotations
Guido van Rossum
guido at python.org
Sun Nov 12 00:07:07 EST 2017
More information about the Python-Dev mailing list
Sun Nov 12 00:07:07 EST 2017
- Previous message (by thread): [Python-Dev] PEP 563: Postponed Evaluation of Annotations
- Next message (by thread): [Python-Dev] PEP 563: Postponed Evaluation of Annotations
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
On Fri, Nov 10, 2017 at 11:02 PM, Nick Coghlan <ncoghlan at gmail.com> wrote: > On 11 November 2017 at 01:48, Guido van Rossum <guido at python.org> wrote: > > 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. > > +1 from me. > I'd like to reverse my stance on this. We had `from __future__ import division` for many years in Python 2, and nobody argued that it implied that Python 2 doesn't have division -- it just meant to import the future *version* of division. So I think the original idea, `from __future__ import annotations` is fine. I don't expect there will be *other* things related to annotations that we'll be importing from the future. -- --Guido van Rossum (python.org/~guido) -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://mail.python.org/pipermail/python-dev/attachments/20171111/872d1b90/attachment.html>
- Previous message (by thread): [Python-Dev] PEP 563: Postponed Evaluation of Annotations
- Next message (by thread): [Python-Dev] PEP 563: Postponed Evaluation of Annotations
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Python-Dev mailing list