[Python-Dev] Allow annotations using basic types in the stdlib? (original) (raw)

Barry Warsaw barry at python.org
Mon Nov 6 13:40:19 EST 2017


On Nov 6, 2017, at 08:02, Victor Stinner <victor.stinner at gmail.com> wrote:

While discussions on the typing module are still hot, what do you think of allowing annotations in the standard libraries, but limited to a few basic types:

I’m still -1 on adding annotations to the stdlib, despite their increasing use out in the wild, for the reasons that Steve and David have pointed out. (Let’s let Eric be the one that breaks the mold with data classes. Then we can blame him!)

-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/20171106/9bb15f19/attachment.sig>



More information about the Python-Dev mailing list