]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
gh-74690: Optimise `isinstance()` and `issubclass()` calls against runtime-checkable...
authorAlex Waygood <Alex.Waygood@Gmail.com>
Mon, 4 Dec 2023 15:41:41 +0000 (15:41 +0000)
committerGitHub <noreply@github.com>
Mon, 4 Dec 2023 15:41:41 +0000 (15:41 +0000)
commitc718ab92a584fa658b6a626a744f5a71a048b47c
tree15a1a786040fe90f2e93d765be483955a7901d15
parent9560e0d6d7a316341939b4016e47e03bd5bf17c3
gh-74690: Optimise `isinstance()` and `issubclass()` calls against runtime-checkable protocols by avoiding costly `super()` calls (#112708)
Lib/typing.py
Misc/NEWS.d/next/Library/2023-12-04-14-05-24.gh-issue-74690.eODKRm.rst [new file with mode: 0644]