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 steven.daprano
Recipients Lincoln Quirk, steven.daprano
Date 2019-01-26.17:32:24
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1548523944.1.0.753132959816.issue35834@roundup.psfhosted.org>
In-reply-to
Content
> Since Undef is not defined, I should get an exception when calling get_type_hints


One of the motives of PEP-563 is to make it easier to use forward references. I'm not sure, but it seems to me that given that, we should not get an exception. So I think the only issue here is that the ForwardReference class is not documented, and should be.

But I admit I'm not confident about my understanding of PEP-563 so I could be wrong.
History
Date User Action Args
2019-01-26 17:32:25steven.dapranosetrecipients: + steven.daprano, Lincoln Quirk
2019-01-26 17:32:24steven.dapranosetmessageid: <1548523944.1.0.753132959816.issue35834@roundup.psfhosted.org>
2019-01-26 17:32:24steven.dapranolinkissue35834 messages
2019-01-26 17:32:24steven.dapranocreate