René's URL Explorer Experiment


Title: gh-103951: enable optimization for fast attribute access on module subclasses by skirpichev · Pull Request #126264 · python/cpython · GitHub

Open Graph Title: gh-103951: enable optimization for fast attribute access on module subclasses by skirpichev · Pull Request #126264 · python/cpython

X Title: gh-103951: enable optimization for fast attribute access on module subclasses by skirpichev · Pull Request #126264 · python/cpython

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

Open Graph Description: This patch relax specialization requirements from PyModule_CheckExact(op) to Py_TYPE(op)->tp_getattro != PyModule_Type.tp_getattro. Benchmarks: # a.py import pyperf import b import c runner = py...

X Description: This patch relax specialization requirements from PyModule_CheckExact(op) to Py_TYPE(op)->tp_getattro != PyModule_Type.tp_getattro. Benchmarks: # a.py import pyperf import b import c runner ...

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

X: @github

direct link

Domain: github.com

IPv4 address: 140.82.113.4

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:ff0a0004-00b6-6e0e-6866-1bb3ae7ab986
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-id8C0C:3AABA8:F21B8A:142DD24:6B064DF5
html-safe-nonce5418531c305852f3349f5c4e63def8bf3aa0e01a8c782d09e4cd4884a9c73aab
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4QzBDOjNBQUJBODpGMjFCOEE6MTQyREQyNDo2QjA2NERGNSIsInZpc2l0b3JfaWQiOiIxOTc3Njg1NjgyNTcxMDcwOTY1IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0=
visitor-hmacb239bf8acb79ef40ddd8716d6f209c09f7db6b851d577ad74db2d93a6250b3aa
hovercard-subject-tagpull_request:2157602906
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/126264/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/4b6a8eab53328462f7328ec33cfbc9074c1224860f30e257fef4abec05d09bc0/python/cpython/pull/126264
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/4b6a8eab53328462f7328ec33cfbc9074c1224860f30e257fef4abec05d09bc0/python/cpython/pull/126264
og:image:altThis patch relax specialization requirements from PyModule_CheckExact(op) to Py_TYPE(op)->tp_getattro != PyModule_Type.tp_getattro. Benchmarks: # a.py import pyperf import b import c runner = py...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernameskirpichev
hostnamegithub.com
expected-hostnamegithub.com
None772b6997ca4daa0428dd49a25d76052e765555ae560fe9c88517eb828bbd861e
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
releasef1f9a08f7c769a37f1dfc18ad43d463c222a7eea
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-namepull-requests

Links:

Skip to contenthttps://github.com/python/cpython/pull/126264#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F126264
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%2F126264
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/126264
Reloadhttps://github.com/python/cpython/pull/126264
Reloadhttps://github.com/python/cpython/pull/126264
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
Fidget-Spinnerhttps://github.com/Fidget-Spinner
python:mainhttps://github.com/python/cpython/tree/main
skirpichev:opt-mod-loadattr-103951https://github.com/skirpichev/cpython/tree/opt-mod-loadattr-103951
Conversationhttps://github.com/python/cpython/pull/126264
Commits7 (7)https://github.com/python/cpython/pull/126264/commits
Checkshttps://github.com/python/cpython/pull/126264/checks
Files changedhttps://github.com/python/cpython/pull/126264/files
gh-103951: enable optimization for fast attribute access on module subclasseshttps://github.com/python/cpython/pull/126264#top
Fidget-Spinnerhttps://github.com/Fidget-Spinner
python:mainhttps://github.com/python/cpython/tree/main
skirpichev:opt-mod-loadattr-103951https://github.com/skirpichev/cpython/tree/opt-mod-loadattr-103951
https://github.com/skirpichev
skirpichevhttps://github.com/skirpichev
Nov 1, 2024https://github.com/python/cpython/pull/126264#issue-2628463536
Please reload this pagehttps://github.com/python/cpython/pull/126264
Fast attribute access for module subclasses #103951https://github.com/python/cpython/issues/103951
Please reload this pagehttps://github.com/python/cpython/pull/126264
https://github.com/skirpichev
https://github.com/ntessore
pythongh-103951https://github.com/python/cpython/issues/103951
: enable optimization for fast attribute access on mod…https://github.com/python/cpython/pull/126264/commits/2d5c312f8808a57808e3783706161edeefb725c4
2d5c312https://github.com/python/cpython/pull/126264/commits/2d5c312f8808a57808e3783706161edeefb725c4
https://github.com/apps/bedevere-app
bedevere-apphttps://github.com/apps/bedevere-app
Nov 1, 2024 https://github.com/python/cpython/pull/126264#ref-issue-1687525837
Fast attribute access for module subclasses #103951 https://github.com/python/cpython/issues/103951
https://github.com/skirpichev
skirpichevhttps://github.com/skirpichev
Nov 1, 2024https://github.com/python/cpython/pull/126264#event-15059806933
https://github.com/skirpichev
+1https://github.com/python/cpython/pull/126264/commits/907beb48fe3dec62466e2f8b97eb1df55f420806
907beb4https://github.com/python/cpython/pull/126264/commits/907beb48fe3dec62466e2f8b97eb1df55f420806
https://github.com/skirpichev
skirpichevhttps://github.com/skirpichev
November 1, 2024 07:42https://github.com/python/cpython/pull/126264#event-15060707573
https://github.com/skirpichev
skirpichevhttps://github.com/skirpichev
ericsnowcurrentlyhttps://github.com/ericsnowcurrently
markshannonhttps://github.com/markshannon
code ownershttps://github.com/python/cpython/blob/295262c8ecb085b4fea552bc6229af3551bbaf7a/.github/CODEOWNERS#L117
November 1, 2024 07:42https://github.com/python/cpython/pull/126264#event-15060707644
https://github.com/apps/bedevere-app
bedevere-apphttps://github.com/apps/bedevere-app
awaiting review https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22awaiting%20review%22
Nov 1, 2024https://github.com/python/cpython/pull/126264#event-15060707897
https://github.com/erlend-aasland
erlend-aaslandhttps://github.com/erlend-aasland
Fidget-Spinnerhttps://github.com/Fidget-Spinner
November 1, 2024 07:46https://github.com/python/cpython/pull/126264#event-15060791029
https://github.com/skirpichev
Sign in to viewhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F126264
https://github.com/skirpichev
Merge branch 'main' into opt-mod-loadattr-103951https://github.com/python/cpython/pull/126264/commits/f0274290805104b5500c09cbad2577746e12871f
f027429https://github.com/python/cpython/pull/126264/commits/f0274290805104b5500c09cbad2577746e12871f
https://github.com/skirpichev
skirpichevhttps://github.com/skirpichev
November 5, 2024 08:50https://github.com/python/cpython/pull/126264#event-15116000902
https://github.com/apps/bedevere-app
bedevere-apphttps://github.com/apps/bedevere-app
awaiting review https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22awaiting%20review%22
Nov 5, 2024https://github.com/python/cpython/pull/126264#event-15116001542
https://github.com/skirpichev
Merge branch 'main' into opt-mod-loadattr-103951https://github.com/python/cpython/pull/126264/commits/d052f9d0022a5f73a37192600cf63e1061fe1dfa
d052f9dhttps://github.com/python/cpython/pull/126264/commits/d052f9d0022a5f73a37192600cf63e1061fe1dfa
https://github.com/skirpichev
Sign in to viewhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F126264
https://github.com/skirpichev
skirpichevhttps://github.com/skirpichev
November 5, 2024 10:11https://github.com/python/cpython/pull/126264#event-15117187453
https://github.com/apps/bedevere-app
bedevere-apphttps://github.com/apps/bedevere-app
awaiting review https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22awaiting%20review%22
Nov 5, 2024https://github.com/python/cpython/pull/126264#event-15117188261
https://github.com/skirpichev
skirpichevhttps://github.com/skirpichev
November 6, 2024 15:24https://github.com/python/cpython/pull/126264#event-15152713948
https://github.com/apps/bedevere-app
bedevere-apphttps://github.com/apps/bedevere-app
awaiting review https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22awaiting%20review%22
Nov 6, 2024https://github.com/python/cpython/pull/126264#event-15152714844
https://github.com/skirpichev
Merge branch 'main' into opt-mod-loadattr-103951https://github.com/python/cpython/pull/126264/commits/53dd6ae262a9aca5ed7628126f3e0dcfcf381585
53dd6aehttps://github.com/python/cpython/pull/126264/commits/53dd6ae262a9aca5ed7628126f3e0dcfcf381585
https://github.com/Fidget-Spinner
Fidget-Spinnerhttps://github.com/Fidget-Spinner
Nov 6, 2024 https://github.com/python/cpython/pull/126264#pullrequestreview-2419061059
View reviewed changes https://github.com/python/cpython/pull/126264/files/53dd6ae262a9aca5ed7628126f3e0dcfcf381585
Include/internal/pycore_moduleobject.hhttps://github.com/python/cpython/pull/126264/files/53dd6ae262a9aca5ed7628126f3e0dcfcf381585#diff-e4580d8176afaa9eafde1afd646de2220746b3527aff4421f325a96f65437b81
Please reload this pagehttps://github.com/python/cpython/pull/126264
https://github.com/skirpichev
skirpichevhttps://github.com/skirpichev
November 7, 2024 03:48https://github.com/python/cpython/pull/126264#event-15167490598
https://github.com/apps/bedevere-app
bedevere-apphttps://github.com/apps/bedevere-app
awaiting review https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22awaiting%20review%22
Nov 7, 2024https://github.com/python/cpython/pull/126264#event-15167492335
skirpichevhttps://github.com/skirpichev
November 7, 2024 14:25https://github.com/python/cpython/pull/126264#commits-pushed-311e842
https://github.com/skirpichev
Merge branch 'master' into opt-mod-loadattr-103951https://github.com/python/cpython/pull/126264/commits/311e8420aad5ce974f46d77ed7d4dfc4e78c970c
311e842https://github.com/python/cpython/pull/126264/commits/311e8420aad5ce974f46d77ed7d4dfc4e78c970c
https://github.com/skirpichev
address review: inline checker codehttps://github.com/python/cpython/pull/126264/commits/3fafd937e7d57d469e4f66029f1ee57ac606ab74
3fafd93https://github.com/python/cpython/pull/126264/commits/3fafd937e7d57d469e4f66029f1ee57ac606ab74
https://github.com/skirpichev
skirpichevhttps://github.com/skirpichev
Fidget-Spinnerhttps://github.com/Fidget-Spinner
November 7, 2024 12:00https://github.com/python/cpython/pull/126264#event-15179666378
https://github.com/Fidget-Spinner
Fidget-Spinnerhttps://github.com/Fidget-Spinner
Nov 7, 2024 https://github.com/python/cpython/pull/126264#pullrequestreview-2420805433
View reviewed changes https://github.com/python/cpython/pull/126264/files/3fafd937e7d57d469e4f66029f1ee57ac606ab74
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 review https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22awaiting%20review%22
Nov 7, 2024https://github.com/python/cpython/pull/126264#event-15179840392
https://github.com/ntessore
ntessorehttps://github.com/ntessore
Nov 7, 2024https://github.com/python/cpython/pull/126264#issuecomment-2462115821
@skirpichevhttps://github.com/skirpichev
Please reload this pagehttps://github.com/python/cpython/pull/126264
https://github.com/Fidget-Spinner
Fidget-Spinnerhttps://github.com/Fidget-Spinner
Nov 15, 2024https://github.com/python/cpython/pull/126264#issuecomment-2478170262
@skirpichevhttps://github.com/skirpichev
Please reload this pagehttps://github.com/python/cpython/pull/126264
https://github.com/skirpichev
skirpichevhttps://github.com/skirpichev
Nov 15, 2024https://github.com/python/cpython/pull/126264#issuecomment-2478176629
@Fidget-Spinnerhttps://github.com/Fidget-Spinner
Please reload this pagehttps://github.com/python/cpython/pull/126264
https://github.com/Fidget-Spinner
Fidget-Spinnerhttps://github.com/Fidget-Spinner
d9e2512https://github.com/python/cpython/commit/d9e251223e8314ca726fc0be8b834362184b0aad
Nov 15, 2024https://github.com/python/cpython/pull/126264#event-15308802485
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
Nov 15, 2024https://github.com/python/cpython/pull/126264#event-15308802947
https://github.com/skirpichev
skirpichevhttps://github.com/skirpichev
November 15, 2024 08:10https://github.com/python/cpython/pull/126264#event-15308882856
picnixzhttps://github.com/picnixz
Dec 8, 2024 https://github.com/python/cpython/pull/126264#ref-commit-f4475b0
https://github.com/skirpichev
https://github.com/ntessore
https://github.com/picnixz
pythongh-103951https://github.com/python/cpython/issues/103951
: enable optimization for fast attribute access on mod…https://github.com/picnixz/cpython/commit/f4475b04b7cf13222ec4447e11595ca9742b2e6e
f4475b0https://github.com/picnixz/cpython/commit/f4475b04b7cf13222ec4447e11595ca9742b2e6e
pythonGH-126264https://github.com/python/cpython/pull/126264
ebonnalhttps://github.com/ebonnal
Jan 12, 2025 https://github.com/python/cpython/pull/126264#ref-commit-6637bb6
https://github.com/skirpichev
https://github.com/ntessore
https://github.com/ebonnal
pythongh-103951https://github.com/python/cpython/issues/103951
: enable optimization for fast attribute access on mod…https://github.com/ebonnal/cpython/commit/6637bb686c80fb49fd63e974c2de463e16ea6845
6637bb6https://github.com/ebonnal/cpython/commit/6637bb686c80fb49fd63e974c2de463e16ea6845
pythonGH-126264https://github.com/python/cpython/pull/126264
https://github.com/skirpichev
skirpichevhttps://github.com/skirpichev
Feb 27, 2026 https://github.com/python/cpython/pull/126264#ref-issue-3994503736
mpmath 1.4.0 breaks Frozen Applications due to importlib.metadata usage mpmath/mpmath#1044 https://github.com/mpmath/mpmath/issues/1044
https://github.com/GrahamDumpleton
GrahamDumpletonhttps://github.com/GrahamDumpleton
Aug 26, 2026 https://github.com/python/cpython/pull/126264#ref-issue-5253192809
LOAD_ATTR specialization for ModuleType subclasses bypasses data descriptors on the subclass (3.14 regression) #156399 https://github.com/python/cpython/issues/156399
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%2F126264
https://github.com/Fidget-Spinner
Fidget-Spinner https://github.com/Fidget-Spinner
https://github.com/python/cpython/pull/126264/files/3fafd937e7d57d469e4f66029f1ee57ac606ab74
https://github.com/markshannon
markshannon https://github.com/markshannon
https://github.com/ericsnowcurrently
ericsnowcurrently https://github.com/ericsnowcurrently
Please reload this pagehttps://github.com/python/cpython/pull/126264
Please reload this pagehttps://github.com/python/cpython/pull/126264
https://github.com/skirpichev
https://github.com/ntessore
https://github.com/Fidget-Spinner
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

Response headers:
Servergithub.com
Content-Typetext/html; charset=utf-8
Cache-Controlno-cache

Viewport: width=device-width


URLs of crawlers that visited me.