]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
bpo-44524: Fix cryptic TypeError message when trying to subclass special forms in...
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Sat, 28 Aug 2021 18:09:45 +0000 (11:09 -0700)
committerGitHub <noreply@github.com>
Sat, 28 Aug 2021 18:09:45 +0000 (11:09 -0700)
commit81fa08c5ea2cf15254b951034b9d6c7358f96d79
treefc4d745be06f471fda1ccdf71555a4fe19077f23
parentcd986e903176d28ed795f65ba14e6fcbf2a65e3d
bpo-44524: Fix cryptic TypeError message when trying to subclass special forms in `typing` (GH-27710)

This was a Python 3.9 regression.
(cherry picked from commit a3a4d20d6798aa2975428d51f3a4f890248810cb)

Co-authored-by: Yurii Karabas <1998uriyyo@gmail.com>
Lib/test/test_typing.py
Lib/typing.py
Misc/NEWS.d/next/Library/2021-08-10-16-57-10.bpo-44524.dk9QX4.rst [new file with mode: 0644]