[issue34921] NoReturn not allowed by get_type_hints when future import annotations is used

Karthikeyan Singaravelan report at bugs.python.org
Sun Oct 7 13:56:51 EDT 2018


Karthikeyan Singaravelan <tir.karthi at gmail.com> added the comment:

Thanks for the report. I am adding Ivan who might have a better explanation since this is related to typing and type(NoReturn) has <class 'typing._SpecialForm'> with __future__ import and <class 'type'> without __future__. Ivan, feel free to remove yourself if this irrelevant.

----------
nosy: +levkivskyi, xtreak

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue34921>
_______________________________________


More information about the Python-bugs-list mailing list