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 pbryan
Recipients gvanrossum, pbryan
Date 2021-01-12.05:00:15
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1610427615.24.0.000795612365541.issue42904@roundup.psfhosted.org>
In-reply-to
Content
According to PEP 563:

> The get_type_hints() function automatically resolves the correct value of globalns for functions and classes. It also automatically provides the correct localns for classes.

This statement about providing correct localns for classes does not appear to be true.

Guido suggested this should be treated as a bug.
History
Date User Action Args
2021-01-12 05:00:15pbryansetrecipients: + pbryan, gvanrossum
2021-01-12 05:00:15pbryansetmessageid: <1610427615.24.0.000795612365541.issue42904@roundup.psfhosted.org>
2021-01-12 05:00:15pbryanlinkissue42904 messages
2021-01-12 05:00:15pbryancreate