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 Dominik V.
Recipients Dominik V.
Date 2020-08-06.12:47:49
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1596718069.87.0.65884086877.issue41496@roundup.psfhosted.org>
In-reply-to
Content
In this [python-ideas thread](https://mail.python.org/archives/list/python-ideas@python.org/thread/T6K4DWENPM7LYXSDVYQYDVFEVBMA5K3L/) it was suggested to create a public API for `typing._eval_type` in order to be able to create custom versions of `get_type_hints`. Specifically a version that allows to specify an upper boundary in the MRO when retrieving type hints for a class object.

The public API should use `None` as defaults for `globalns` and `localns` and not expose the `recursive_guard` parameter.
History
Date User Action Args
2020-08-06 12:47:49Dominik V.setrecipients: + Dominik V.
2020-08-06 12:47:49Dominik V.setmessageid: <1596718069.87.0.65884086877.issue41496@roundup.psfhosted.org>
2020-08-06 12:47:49Dominik V.linkissue41496 messages
2020-08-06 12:47:49Dominik V.create