[issue38605] [typing] PEP 563: Postponed evaluation of annotations: enable it by default in Python 3.10

Batuhan Taskaya report at bugs.python.org
Tue Oct 6 16:02:12 EDT 2020


Batuhan Taskaya <isidentical at gmail.com> added the comment:

@gvanrossum should I draft a patch to convert this
inspect.signature(callable, *, follow_wrapped=True) (and also things like inspect.Signature.from_callable) into inspect.signature(callable, *, follow_wrapped=True, globalns=None, localns=None) in order to pass them to get_type_hints (for resolving in different namespaces)?

----------

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


More information about the Python-bugs-list mailing list