]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
[3.12] gh-105280: Ensure `isinstance([], collections.abc.Mapping)` always evaluates...
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Mon, 5 Jun 2023 14:51:26 +0000 (07:51 -0700)
committerGitHub <noreply@github.com>
Mon, 5 Jun 2023 14:51:26 +0000 (14:51 +0000)
commit2031238eb64150053117e214ca40dc774b95b933
tree3333d5799dc848dc20009d16307d595581ec7ab3
parent51750269cf36901e83a70a1fff9ab93a2e2855fb
[3.12] gh-105280: Ensure `isinstance([], collections.abc.Mapping)` always evaluates to `False` (GH-105281) (#105318)

gh-105280: Ensure `isinstance([], collections.abc.Mapping)` always evaluates to `False` (GH-105281)
(cherry picked from commit 08756dbba647440803d2ba4545ba0ab2f0cdfe1c)

Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
Lib/test/test_typing.py
Lib/typing.py
Misc/NEWS.d/next/Library/2023-06-04-12-16-47.gh-issue-105280.srRbCe.rst [new file with mode: 0644]