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 Nils Kattenbeck
Recipients Nils Kattenbeck, gvanrossum, levkivskyi
Date 2019-11-10.11:30:44
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1573385445.58.0.747599794799.issue38756@roundup.psfhosted.org>
In-reply-to
Content
Okay nevermind, after looking in the PEP again and inspecting the __annotations__ property I learned that annotations are never evaluated and just saved as a string when using said future statement.

However this may still be relevant as typing.get_type_hints will still fail. For my use case however this is sufficient.
History
Date User Action Args
2019-11-10 11:30:45Nils Kattenbecksetrecipients: + Nils Kattenbeck, gvanrossum, levkivskyi
2019-11-10 11:30:45Nils Kattenbecksetmessageid: <1573385445.58.0.747599794799.issue38756@roundup.psfhosted.org>
2019-11-10 11:30:45Nils Kattenbecklinkissue38756 messages
2019-11-10 11:30:45Nils Kattenbeckcreate