]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
bpo-45679: Fix caching of multi-value typing.Literal (GH-29334)
authorSerhiy Storchaka <storchaka@gmail.com>
Sun, 31 Oct 2021 08:22:16 +0000 (10:22 +0200)
committerGitHub <noreply@github.com>
Sun, 31 Oct 2021 08:22:16 +0000 (10:22 +0200)
commit634984d7dbdd91e0a51a793eed4d870e139ae1e0
tree18d88dc13135d6a8cae515519144525e91efabe7
parentaad48062ef8f983fbb95f9dc0c3c3cef9c89df02
bpo-45679: Fix caching of multi-value typing.Literal (GH-29334)

Literal[True, 2] is no longer equal to Literal[1, 2].
Lib/test/test_typing.py
Lib/typing.py
Misc/NEWS.d/next/Library/2021-10-30-21-11-37.bpo-45679.Dq8Cpu.rst [new file with mode: 0644]