]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
[3.11] 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:15:54 +0000 (11:15 +0100)
committerGitHub <noreply@github.com>
Tue, 5 Mar 2024 10:15:54 +0000 (10:15 +0000)
commitf187da5b596f5ec16f060fc7a3113e149507c1fc
treeb7d257f3151ce39625761a8efec1a21c2a5ad3e8
parent7fa33187cb728ad0753b8d8d7892da41f945c3b9
[3.11] gh-116325: Raise `SyntaxError` rather than `IndexError` on ForwardRef with empty string arg (GH-116341) (#116348)

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]