diff options
author | wyfo <joperez@hotmail.fr> | 2020-07-22 19:47:28 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-07-22 19:47:28 (GMT) |
commit | 653f420b53a3aa87316cef59de8d3f5d9e11deb4 (patch) | |
tree | 4ec1efe11e2698f2c56790f013c1cf1ae80c677b /Misc | |
parent | bf2f76ec0976c09de79c8827764f30e3b6fba776 (diff) | |
download | cpython-653f420b53a3aa87316cef59de8d3f5d9e11deb4.zip cpython-653f420b53a3aa87316cef59de8d3f5d9e11deb4.tar.gz cpython-653f420b53a3aa87316cef59de8d3f5d9e11deb4.tar.bz2 |
bpo-41341: Recursive evaluation of ForwardRef in get_type_hints (#21553)
The issue raised by recursive evaluation is infinite recursion with
recursive types. In that case, only the first recursive ForwardRef is
evaluated.
Diffstat (limited to 'Misc')
-rw-r--r-- | Misc/NEWS.d/next/Library/2020-07-20-19-13-17.bpo-41341.wqrj8C.rst | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Misc/NEWS.d/next/Library/2020-07-20-19-13-17.bpo-41341.wqrj8C.rst b/Misc/NEWS.d/next/Library/2020-07-20-19-13-17.bpo-41341.wqrj8C.rst new file mode 100644 index 0000000..c78b24d --- /dev/null +++ b/Misc/NEWS.d/next/Library/2020-07-20-19-13-17.bpo-41341.wqrj8C.rst @@ -0,0 +1 @@ +Recursive evaluation of `typing.ForwardRef` in `get_type_hints`.
\ No newline at end of file |