]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
[3.12] gh-105144: Runtime-checkable protocols: move all 'sanity checks' to `_Protocol...
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Wed, 31 May 2023 17:35:03 +0000 (10:35 -0700)
committerGitHub <noreply@github.com>
Wed, 31 May 2023 17:35:03 +0000 (17:35 +0000)
commit076f3cda140a45b08c2c9518bc19624aae50d3a3
treefae4d634de6976cacaaec54e24519041e1a22f8c
parent4f477c796cbd6db14fa102fecd5afc38a3604850
[3.12] gh-105144: Runtime-checkable protocols: move all 'sanity checks' to `_ProtocolMeta.__subclasscheck__` (GH-105152) (#105160)

(cherry picked from commit c05c31db8c9dfd708b9857bb57f8e5f3ce40266d)

Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
Lib/test/test_typing.py
Lib/typing.py
Misc/NEWS.d/next/Library/2023-05-31-16-58-42.gh-issue-105144.Oqfn0V.rst [new file with mode: 0644]