Nils Kattenbeck <nilskem...@gmail.com> added the comment:
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. ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue38756> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com