Skip to content

gh-157526: Call __instancecheck__ and __subclasscheck__ without creating a bound method - #157670

Open
kumaraditya303 wants to merge 1 commit into
python:mainfrom
kumaraditya303:isinstance-special-method-call
Open

kumaraditya303 wants to merge 1 commit into
python:mainfrom
kumaraditya303:isinstance-special-method-call

Conversation

@kumaraditya303

@kumaraditya303 kumaraditya303 commented Sep 17, 2026

Copy link
Copy Markdown
Contributor

This reduces contention when calling these methods used by ABC on free-threading.

Skipping news for individual PR, will add one after all work is complete.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant