]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
[3.14] gh-139905: Provide suggestion in error message if `Generic.__init_subclass__...
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Sat, 11 Oct 2025 15:40:23 +0000 (17:40 +0200)
committerGitHub <noreply@github.com>
Sat, 11 Oct 2025 15:40:23 +0000 (15:40 +0000)
commit46148d18a262a5d3977bf13386fac762e1b5f2ae
treeb6e133badc41eba9e4c63a07ec2d2cfec39954f9
parent1a355d73663692d77811686f5d655ce161a256a1
[3.14] gh-139905: Provide suggestion in error message if `Generic.__init_subclass__` was not called (GH-139943) (#139955)

gh-139905: Provide suggestion in error message if `Generic.__init_subclass__` was not called (GH-139943)
(cherry picked from commit 5776d0d2e08f4d93dcd62d875bae8c1396a04ba4)

Co-authored-by: Stan Ulbrych <89152624+StanFromIreland@users.noreply.github.com>
Lib/test/test_typing.py
Lib/typing.py
Misc/NEWS.d/next/Library/2025-10-11-10-02-56.gh-issue-139905.UyJIR_.rst [new file with mode: 0644]