René's URL Explorer Experiment


Title: gh-127773: Disable attribute cache on incompatible MRO entries by encukou · Pull Request #127924 · python/cpython · GitHub

Open Graph Title: gh-127773: Disable attribute cache on incompatible MRO entries by encukou · Pull Request #127924 · python/cpython

X Title: gh-127773: Disable attribute cache on incompatible MRO entries by encukou · Pull Request #127924 · python/cpython

Description: The Python programming language. Contribute to python/cpython development by creating an account on GitHub.

Open Graph Description: This brings back the functionality of Py_TPFLAGS_HAVE_VERSION_TAG, which should have been named “use version tag”, as the field itself is always present -- see #27260 where I mistakenly removed it....

X Description: This brings back the functionality of Py_TPFLAGS_HAVE_VERSION_TAG, which should have been named “use version tag”, as the field itself is always present -- see #27260 where I mistakenly removed it....

Opengraph URL: https://github.com/python/cpython/pull/127924

X: @github

direct link

Domain: github.com

react-profiling0
react-import-mapreact,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322
route-pattern/_view_fragments/voltron/pull_requests/show/:user_id/:repository/:id/pull_request_layout(.:format)
route-controllervoltron_pull_requests_fragments
route-actionpull_request_layout
fetch-noncev2:33f828a9-4a14-be2f-32d7-0d61ca766f99
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idC434:8AE25:236D07E:2EB2332:6B0253D0
html-safe-noncefbedac884ac5e72d9206b321a863f414ed159db4516628160a7d56f1eedf0969
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDNDM0OjhBRTI1OjIzNkQwN0U6MkVCMjMzMjo2QjAyNTNEMCIsInZpc2l0b3JfaWQiOiIzMzMxNzg4NzkzOTY2NjQ2MjI0IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0=
visitor-hmac853e73409603351f03480ea441be58e0816d3f7021941bf0b08e9093f5a0a08c
hovercard-subject-tagpull_request:2234027116
github-keyboard-shortcutsrepository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/pull_requests_fragments/pull_request_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/voltron/pull_requests/show/python/cpython/127924/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/af21ad1eadd0d70df53babb33d178280961e72bbaa379453a1a38773b913a2eb/python/cpython/pull/127924
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/af21ad1eadd0d70df53babb33d178280961e72bbaa379453a1a38773b913a2eb/python/cpython/pull/127924
og:image:altThis brings back the functionality of Py_TPFLAGS_HAVE_VERSION_TAG, which should have been named “use version tag”, as the field itself is always present -- see #27260 where I mistakenly removed it....
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernameencukou
hostnamegithub.com
expected-hostnamegithub.com
None87e774ee7c6b3bee0490394e4d3e57ec9dbc956f74b87ea685dc8996c1676456
turbo-cache-controlno-cache
go-importgithub.com/python/cpython git https://github.com/python/cpython.git
octolytics-dimension-user_id1525981
octolytics-dimension-user_loginpython
octolytics-dimension-repository_id81598961
octolytics-dimension-repository_nwopython/cpython
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id81598961
octolytics-dimension-repository_network_root_nwopython/cpython
turbo-body-classeslogged-out env-production page-responsive
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release423dbb54c5e7bfecc838eb387c1435eb3d0e760d
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-namepull-requests

Links:

Skip to contenthttps://github.com/python/cpython/pull/127924#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F127924
GitHubRepository hosting, code review, and collaborationhttps://github.com/platform
CopilotAI coding agent for tasks, projects, and automated workhttps://github.com/features/copilot
ActionsCI/CD and automationhttps://github.com/features/actions
Code QualityQuality analysis, fixes, and enforcementhttps://github.com/features/code-quality
CodespacesCloud development environmentshttps://github.com/features/codespaces
Code SecurityVulnerability detection and remediationhttps://github.com/security/advanced-security/code-security
Secret ProtectionSecret scanning and leak preventionhttps://github.com/security/advanced-security/secret-protection
All Featureshttps://github.com/features
Documentationhttps://docs.github.com/en
Traininghttps://learn.github.com/skills
Certificationshttps://learn.github.com/credentials
Build with Copilothttps://github.com/features/ai
Customize Copilothttps://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview
Integrationshttps://github.com/marketplace
Trending reposhttps://github.com/trending
GitHub Sponsorshttps://github.com/open-source/sponsors
Developer articleshttps://github.com/resources/articles
ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place.https://github.blog/changelog/
Enterpriseshttps://github.com/enterprise
Teamhttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
See all industrieshttps://github.com/solutions/industry
Why GitHubhttps://github.com/why-github
Customer Storieshttps://github.com/customer-stories
Business insightshttps://github.com/solutions/executive-insights
Trust Centerhttps://github.com/trust-center
GitHub Advanced SecurityEnterprise-grade code securityhttps://github.com/security/advanced-security
Copilot for businessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/enterprise/premium-support
Documentationhttps://docs.github.com/en
Resource centerhttps://github.com/resources
Bloghttps://github.blog/
Events & webinarshttps://github.com/resources/events
Community Forumhttps://github.com/orgs/community/discussions
Customer Storieshttps://github.com/customer-stories
Integrationshttps://github.com/marketplace
Customer supporthttps://help.github.com/
Traininghttps://learn.github.com/skills
GitHub Statushttps://www.githubstatus.com/
Abouthttps://github.com/about
Partnershttps://github.com/partners
Changeloghttps://github.blog/changelog/
GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub.https://githubuniverse.com/
Pricinghttps://github.com/pricing
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F127924
Sign uphttps://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fpull_requests_fragments%2Fpull_request_layout&source=header-repo&source_repo=python%2Fcpython
Reloadhttps://github.com/python/cpython/pull/127924
Reloadhttps://github.com/python/cpython/pull/127924
Reloadhttps://github.com/python/cpython/pull/127924
pythonhttps://github.com/python
cpythonhttps://github.com/python/cpython
Codehttps://github.com/python/cpython
Issues5k+ (5k+)https://github.com/python/cpython/issues
Pull requests2.4k (2.4k)https://github.com/python/cpython/pulls
Actionshttps://github.com/python/cpython/actions
Projectshttps://github.com/python/cpython/projects
Security and qualityhttps://github.com/python/cpython/security
Insightshttps://github.com/python/cpython/insights
https://github.com/python/cpython
encukouhttps://github.com/encukou
python:mainhttps://github.com/python/cpython/tree/main
encukou:stale-mro-cachehttps://github.com/encukou/cpython/tree/stale-mro-cache
Conversationhttps://github.com/python/cpython/pull/127924
Commits6 (6)https://github.com/python/cpython/pull/127924/commits
Checkshttps://github.com/python/cpython/pull/127924/checks
Files changedhttps://github.com/python/cpython/pull/127924/files
gh-127773: Disable attribute cache on incompatible MRO entrieshttps://github.com/python/cpython/pull/127924#top
encukouhttps://github.com/encukou
python:mainhttps://github.com/python/cpython/tree/main
encukou:stale-mro-cachehttps://github.com/encukou/cpython/tree/stale-mro-cache
https://github.com/encukou
encukouhttps://github.com/encukou
Dec 13, 2024https://github.com/python/cpython/pull/127924#issue-2738617212
Please reload this pagehttps://github.com/python/cpython/pull/127924
#27260https://github.com/python/cpython/pull/27260
@markshannonhttps://github.com/markshannon
@colesburyhttps://github.com/colesbury
Stale entries in MRO cache if MRO contains non-base classes #127773https://github.com/python/cpython/issues/127773
Please reload this pagehttps://github.com/python/cpython/pull/127924
encukouhttps://github.com/encukou
December 13, 2024 15:47https://github.com/python/cpython/pull/127924#commits-pushed-6653d17
https://github.com/encukou
Add testhttps://github.com/python/cpython/pull/127924/commits/6653d173b4768a8c5baa2b551f29d99ecac13991
6653d17https://github.com/python/cpython/pull/127924/commits/6653d173b4768a8c5baa2b551f29d99ecac13991
https://github.com/encukou
Set large tp_versions_used when type attribute cache should be disa…https://github.com/python/cpython/pull/127924/commits/1d7a635a354869bfcea8274d948ca8e05aabb31b
1d7a635https://github.com/python/cpython/pull/127924/commits/1d7a635a354869bfcea8274d948ca8e05aabb31b
https://github.com/encukou
encukouhttps://github.com/encukou
colesburyhttps://github.com/colesbury
December 13, 2024 15:13https://github.com/python/cpython/pull/127924#event-15650083038
https://github.com/encukou
encukouhttps://github.com/encukou
markshannonhttps://github.com/markshannon
code ownerhttps://github.com/python/cpython/blob/6446408d426814bf2bc9d3911a91741f04d4bc4e/.github/CODEOWNERS#L33
December 13, 2024 15:13https://github.com/python/cpython/pull/127924#event-15650083220
https://github.com/apps/bedevere-app
bedevere-apphttps://github.com/apps/bedevere-app
Dec 13, 2024 https://github.com/python/cpython/pull/127924#ref-issue-2728166448
Stale entries in MRO cache if MRO contains non-base classes #127773 https://github.com/python/cpython/issues/127773
https://github.com/apps/bedevere-app
bedevere-apphttps://github.com/apps/bedevere-app
awaiting core review https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22awaiting%20core%20review%22
Dec 13, 2024https://github.com/python/cpython/pull/127924#event-15650084598
https://github.com/colesbury
colesburyhttps://github.com/colesbury
Dec 13, 2024 https://github.com/python/cpython/pull/127924#pullrequestreview-2502735061
View reviewed changes https://github.com/python/cpython/pull/127924/files/1d7a635a354869bfcea8274d948ca8e05aabb31b
colesburyhttps://github.com/colesbury
https://github.com/python/cpython/pull/127924#pullrequestreview-2502735061
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
@markshannonhttps://github.com/markshannon
Please reload this pagehttps://github.com/python/cpython/pull/127924
Objects/typeobject.chttps://github.com/python/cpython/pull/127924/files/1d7a635a354869bfcea8274d948ca8e05aabb31b#diff-1decebeef15f4e0b0ce106c665751ec55068d4d1d1825847925ad4f528b5b872
Please reload this pagehttps://github.com/python/cpython/pull/127924
https://github.com/apps/bedevere-app
bedevere-apphttps://github.com/apps/bedevere-app
awaiting merge https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22awaiting%20merge%22
awaiting core review https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22awaiting%20core%20review%22
Dec 13, 2024https://github.com/python/cpython/pull/127924#event-15651257290
https://github.com/Eclips4
Eclips4https://github.com/Eclips4
Dec 13, 2024 https://github.com/python/cpython/pull/127924#pullrequestreview-2502958169
View reviewed changes https://github.com/python/cpython/pull/127924/files/1d7a635a354869bfcea8274d948ca8e05aabb31b
Misc/NEWS.d/next/Core_and_Builtins/2024-12-13-15-21-45.gh-issue-127773.E-DZR4.rsthttps://github.com/python/cpython/pull/127924/files/1d7a635a354869bfcea8274d948ca8e05aabb31b#diff-3f79a4a6f70351d117f7a7558ad5b42ba223882ecc048082b217a87804910874
Please reload this pagehttps://github.com/python/cpython/pull/127924
encukouhttps://github.com/encukou
December 16, 2024 16:00https://github.com/python/cpython/pull/127924#commits-pushed-b649a96
https://github.com/encukou
https://github.com/Eclips4
Link a term in the blurbhttps://github.com/python/cpython/pull/127924/commits/b649a960f028a2dc37b323423ae4f2c0963410a7
b649a96https://github.com/python/cpython/pull/127924/commits/b649a960f028a2dc37b323423ae4f2c0963410a7
https://github.com/encukou
Use static_asserthttps://github.com/python/cpython/pull/127924/commits/d69ec0f9d2b62e35d64db027ad9fe053e3e3dfc0
d69ec0fhttps://github.com/python/cpython/pull/127924/commits/d69ec0f9d2b62e35d64db027ad9fe053e3e3dfc0
https://github.com/encukou
Merge in the main branchhttps://github.com/python/cpython/pull/127924/commits/a537cc3166c20d1cee582f7d19d26b3a54ba8c83
a537cc3https://github.com/python/cpython/pull/127924/commits/a537cc3166c20d1cee582f7d19d26b3a54ba8c83
https://github.com/encukou
Use #if and #errorhttps://github.com/python/cpython/pull/127924/commits/5dbbdf4c0514cfebe668ea4540de475b1f9e0199
5dbbdf4https://github.com/python/cpython/pull/127924/commits/5dbbdf4c0514cfebe668ea4540de475b1f9e0199
https://github.com/encukou
encukouhttps://github.com/encukou
🔨 test-with-buildbots https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22%3Ahammer%3A%20test-with-buildbots%22
Dec 17, 2024https://github.com/python/cpython/pull/127924#event-15683749875
https://github.com/bedevere-bot
bedevere-bothttps://github.com/bedevere-bot
Dec 17, 2024https://github.com/python/cpython/pull/127924#issuecomment-2548089709
@encukouhttps://github.com/encukou
5dbbdf4https://github.com/python/cpython/commit/5dbbdf4c0514cfebe668ea4540de475b1f9e0199
Please reload this pagehttps://github.com/python/cpython/pull/127924
https://github.com/bedevere-bot
bedevere-bothttps://github.com/bedevere-bot
🔨 test-with-buildbots https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22%3Ahammer%3A%20test-with-buildbots%22
Dec 17, 2024https://github.com/python/cpython/pull/127924#event-15683751744
https://github.com/encukou
encukouhttps://github.com/encukou
Dec 18, 2024https://github.com/python/cpython/pull/127924#issuecomment-2550841123
#128034https://github.com/python/cpython/pull/128034
Please reload this pagehttps://github.com/python/cpython/pull/127924
https://github.com/encukou
encukouhttps://github.com/encukou
Dec 18, 2024https://github.com/python/cpython/pull/127924#issuecomment-2550842541
@markshannonhttps://github.com/markshannon
Please reload this pagehttps://github.com/python/cpython/pull/127924
https://github.com/encukou
encukouhttps://github.com/encukou
Jan 7, 2025https://github.com/python/cpython/pull/127924#issuecomment-2575298630
Please reload this pagehttps://github.com/python/cpython/pull/127924
https://github.com/encukou
encukouhttps://github.com/encukou
aa6579chttps://github.com/python/cpython/commit/aa6579cb60b4fcd652d7bc83fed2668e4ae84db3
Jan 13, 2025https://github.com/python/cpython/pull/127924#event-15904723323
https://github.com/apps/bedevere-app
bedevere-apphttps://github.com/apps/bedevere-app
awaiting merge https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22awaiting%20merge%22
Jan 13, 2025https://github.com/python/cpython/pull/127924#event-15904724118
https://github.com/encukou
encukouhttps://github.com/encukou
January 20, 2025 16:52https://github.com/python/cpython/pull/127924#event-16002335735
encukouhttps://github.com/encukou
Jan 12, 2026 https://github.com/python/cpython/pull/127924#ref-commit-356fb83
https://github.com/encukou
pythongh-127773https://github.com/python/cpython/issues/127773
: Disable attribute cache on incompatible MRO entries (https://github.com/encukou/cpython/commit/356fb830e168c6cd5b5a78e84fc2eb4e660cd5fe
p…https://github.com/python/cpython/pull/127924
356fb83https://github.com/encukou/cpython/commit/356fb830e168c6cd5b5a78e84fc2eb4e660cd5fe
…ythonGH-127924https://github.com/python/cpython/pull/127924
https://github.com/apps/bedevere-app
bedevere-apphttps://github.com/apps/bedevere-app
Jan 12, 2026https://github.com/python/cpython/pull/127924#issuecomment-3738426069
GH-143729https://github.com/python/cpython/pull/143729
3.13 branchhttps://github.com/python/cpython/tree/3.13
Please reload this pagehttps://github.com/python/cpython/pull/127924
encukouhttps://github.com/encukou
Jan 26, 2026 https://github.com/python/cpython/pull/127924#ref-commit-fdac87a
https://github.com/encukou
[3.13]https://github.com/python/cpython/commit/fdac87ae39ae0672be22837592f1fc4101e8432a
gh-127773https://github.com/python/cpython/issues/127773
: Disable attribute cache on incompatible MRO entries (https://github.com/python/cpython/commit/fdac87ae39ae0672be22837592f1fc4101e8432a
…https://github.com/python/cpython/pull/127924
fdac87ahttps://github.com/python/cpython/commit/fdac87ae39ae0672be22837592f1fc4101e8432a
…GH-127924https://github.com/python/cpython/pull/127924
GH-143729https://github.com/python/cpython/pull/143729
https://github.com/xmo-odoo
xmo-odoohttps://github.com/xmo-odoo
Jul 10, 2026 https://github.com/python/cpython/pull/127924#ref-pullrequest-4855527753
[PERF] core: restore model getattr perfs in python 3.13 odoo/odoo#275640 https://github.com/odoo/odoo/pull/275640
https://github.com/perrinjerome
perrinjeromehttps://github.com/perrinjerome
Aug 20, 2026 https://github.com/python/cpython/pull/127924#ref-issue-5202478741
Types with mro() unconditionally disables type attribute cache, causing performance regression for compatible MRO implementations, such as Zope #156096 https://github.com/python/cpython/issues/156096
https://github.co/hiddenchars
https://github.com/python/cpython/pull/{{ revealButtonHref }}
Sign up for freehttps://github.com/join?source=comment-repo
Sign in to commenthttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F127924
https://github.com/Eclips4
Eclips4 https://github.com/Eclips4
https://github.com/python/cpython/pull/127924/files/1d7a635a354869bfcea8274d948ca8e05aabb31b
https://github.com/colesbury
colesbury https://github.com/colesbury
https://github.com/python/cpython/pull/127924/files/1d7a635a354869bfcea8274d948ca8e05aabb31b
https://github.com/markshannon
markshannon https://github.com/markshannon
Please reload this pagehttps://github.com/python/cpython/pull/127924
Please reload this pagehttps://github.com/python/cpython/pull/127924
https://github.com/encukou
https://github.com/bedevere-bot
https://github.com/colesbury
https://github.com/Eclips4
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.