]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
[3.12] gh-116325: Raise `SyntaxError` rather than `IndexError` on ForwardRef with...
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Tue, 5 Mar 2024 10:08:27 +0000 (11:08 +0100)
committerGitHub <noreply@github.com>
Tue, 5 Mar 2024 10:08:27 +0000 (10:08 +0000)
commit6264c4f4b2f99ba71678e1ff29347e6b3136f51c
tree7a84cace38ca81054b18dacd5cbdcd909a888a4a
parent8785eab34255dd783a94b1e0a8d388a27333578c
[3.12] gh-116325: Raise `SyntaxError` rather than `IndexError` on ForwardRef with empty string arg (GH-116341) (#116347)

gh-116325: Raise `SyntaxError` rather than `IndexError` on ForwardRef with empty string arg (GH-116341)
(cherry picked from commit a29998a06bf75264c3faaeeec4584a5f75b45a1f)

Co-authored-by: Nikita Sobolev <mail@sobolevn.me>
Lib/test/test_typing.py
Lib/typing.py
Misc/NEWS.d/next/Library/2024-03-05-02-09-18.gh-issue-116325.FmlBYv.rst [new file with mode: 0644]