Thanks to visit codestin.com
Credit goes to github.com

Skip to content

[3.9] bpo-41341: Recursive evaluation of ForwardRef in get_type_hints (GH-21553) #21629

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jul 26, 2020

Conversation

miss-islington
Copy link
Contributor

@miss-islington miss-islington commented Jul 26, 2020

The issue raised by recursive evaluation is infinite recursion with
recursive types. In that case, only the first recursive ForwardRef is
evaluated.
(cherry picked from commit 653f420)

Co-authored-by: wyfo [email protected]

https://bugs.python.org/issue41341

…onGH-21553)

The issue raised by recursive evaluation is infinite recursion with
recursive types. In that case, only the first recursive ForwardRef is
evaluated.
(cherry picked from commit 653f420)

Co-authored-by: wyfo <[email protected]>
@miss-islington
Copy link
Contributor Author

@wyfo and @gvanrossum: Status check is done, and it's a success ✅ .

@miss-islington miss-islington merged commit 41d1c04 into python:3.9 Jul 26, 2020
@miss-islington miss-islington deleted the backport-653f420-3.9 branch July 26, 2020 15:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants