]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
gh-92261: Disallow iteration of Union (and other special forms) (GH-92262) (GH-92582)
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Tue, 10 May 2022 05:39:31 +0000 (22:39 -0700)
committerGitHub <noreply@github.com>
Tue, 10 May 2022 05:39:31 +0000 (08:39 +0300)
commit7540a432cedf478d03da1254c470ac552f397916
treed109e9a49c9cae9ba2ae2685ca6bb72e0fe9399b
parent74c094d8049f4c8ab5821487b753f5c17aefdfc7
gh-92261: Disallow iteration of Union (and other special forms) (GH-92262) (GH-92582)

(cherry picked from commit 4739997e141c4c84bd2241d4d887c3c658d92700)

Co-authored-by: Matthew Rahtz <matthew.rahtz@gmail.com>
Lib/test/test_genericalias.py
Lib/test/test_typing.py
Lib/typing.py
Misc/NEWS.d/next/Core and Builtins/2022-05-03-20-12-18.gh-issue-92261.aigLnb.rst [new file with mode: 0644]