You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.
Show more details
assignee=Noneclosed_at=<Date2020-12-23.22:45:52.586>created_at=<Date2020-10-06.20:39:01.138>labels= ['type-feature', 'library', '3.10']
title='Add globalns and localns to the inspect.signature and inspect.Signature.from_callable'updated_at=<Date2020-12-23.22:45:52.585>user='https://github.com/isidentical'
Normally, if inspect.signature is able to resolve annotations with the current globals()/locals() it will give the resolved version, if not the string version. So adding this would allow people to choose which namespace inspect.signature will pass to the typing.get_type_hints. (inspect.signature(foo, localns=locals()) would give directly the F object instead of 'F', etc.)