Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Comments

gh-144873: Document isinstance Optimization#144997

Open
George-Ogden wants to merge 2 commits intopython:mainfrom
George-Ogden:gh-144873v2
Open

gh-144873: Document isinstance Optimization#144997
George-Ogden wants to merge 2 commits intopython:mainfrom
George-Ogden:gh-144873v2

Conversation

@George-Ogden
Copy link
Contributor

@George-OgdenGeorge-Ogden commentedFeb 19, 2026
edited by github-actionsbot
Loading

Fixes#144873 and#79264 by describing the optimization wheretype(instance) is cls duringinistance(instance, cls). It describes that__instancecheck__ is not called in this scenario.


📚 Documentation preview 📚:https://cpython-previews--144997.org.readthedocs.build/

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

Reviewers

@willingcwillingcAwaiting requested review from willingcwillingc is a code owner

@AA-TurnerAA-TurnerAwaiting requested review from AA-TurnerAA-Turner is a code owner

Assignees

No one assigned

Labels

awaiting reviewdocsDocumentation in the Doc dirskip news

Projects

Status: Todo

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

Overzealous Optimization Forisinstance

1 participant

@George-Ogden

[8]ページ先頭

©2009-2026 Movatter.jp