This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author larry
Recipients larry
Date 2021-04-30.11:26:13
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1619781973.9.0.643111119253.issue43987@roundup.psfhosted.org>
In-reply-to
Content
Dealing with annotations is complicated.  I think there should be a section of the Python documentation describing best practices for working
with annotations.  So, here goes.

The best spot I found for it was as a new HOWTO.  I added links to that HOWTO to a couple relevant glossary definitions, and one in the documentation for inspect.get_annotations().  I'm not sure if it makes sense to add any other links; I considered adding links to the HOWTO to where the __annotations__ attribute is defined on functions, modules, and classes, in reference/datamodel.rst, but it just didn't seem like a good idea.
History
Date User Action Args
2021-04-30 11:26:13larrysetrecipients: + larry
2021-04-30 11:26:13larrysetmessageid: <1619781973.9.0.643111119253.issue43987@roundup.psfhosted.org>
2021-04-30 11:26:13larrylinkissue43987 messages
2021-04-30 11:26:13larrycreate