René's URL Explorer Experiment


Title: gh-156399: Don't specialize LOAD_ATTR_MODULE for module subclasses by skdas20 · Pull Request #156474 · python/cpython · GitHub

Open Graph Title: gh-156399: Don't specialize LOAD_ATTR_MODULE for module subclasses by skdas20 · Pull Request #156474 · python/cpython

X Title: gh-156399: Don't specialize LOAD_ATTR_MODULE for module subclasses by skdas20 · Pull Request #156474 · python/cpython

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

Open Graph Description: Attribute loads on a types.ModuleType subclass are specialized to LOAD_ATTR_MODULE, which reads the module dictionary directly. Both the specialization site and the runtime guard tested only tp_get...

X Description: Attribute loads on a types.ModuleType subclass are specialized to LOAD_ATTR_MODULE, which reads the module dictionary directly. Both the specialization site and the runtime guard tested only tp_get...

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

X: @github

direct link

Domain: github.com

IPv4 address: 140.82.113.3

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:61d790a5-5971-ae2a-cb51-24ceb1a328fd
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-id902A:5CA6C:BD22BB:FD88B7:6B064988
html-safe-nonce852494839d494e68799260c61e92179d4990b72f95519b217bfcb8d50ea00469
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5MDJBOjVDQTZDOkJEMjJCQjpGRDg4Qjc6NkIwNjQ5ODgiLCJ2aXNpdG9yX2lkIjoiMTg2Mjc4MTA4Njc2NjM1Mjc3NiIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmacc50643ba58fb1164df25db5c106474e4f8246af3090e6a90510e21043e693a19
hovercard-subject-tagpull_request:4377067536
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/156474/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/e98f4f9db5288e043e9b4c22f3d1e06cc1a1ece54c1327828b63efc9e0596204/python/cpython/pull/156474
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/e98f4f9db5288e043e9b4c22f3d1e06cc1a1ece54c1327828b63efc9e0596204/python/cpython/pull/156474
og:image:altAttribute loads on a types.ModuleType subclass are specialized to LOAD_ATTR_MODULE, which reads the module dictionary directly. Both the specialization site and the runtime guard tested only tp_get...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernameskdas20
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-targetcanary-2
theme-color#1e2327
color-schemelight dark
react-app-namepull-requests

Links:

Skip to contenthttps://github.com/python/cpython/pull/156474#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F156474
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%2F156474
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/156474
Reloadhttps://github.com/python/cpython/pull/156474
Reloadhttps://github.com/python/cpython/pull/156474
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
markshannonhttps://github.com/markshannon
python:mainhttps://github.com/python/cpython/tree/main
skdas20:gh-156399-module-subclass-data-descriptorhttps://github.com/skdas20/cpython/tree/gh-156399-module-subclass-data-descriptor
Conversationhttps://github.com/python/cpython/pull/156474
Commits1 (1)https://github.com/python/cpython/pull/156474/commits
Checkshttps://github.com/python/cpython/pull/156474/checks
Files changedhttps://github.com/python/cpython/pull/156474/files
gh-156399: Don't specialize LOAD_ATTR_MODULE for module subclasseshttps://github.com/python/cpython/pull/156474#top
markshannonhttps://github.com/markshannon
python:mainhttps://github.com/python/cpython/tree/main
skdas20:gh-156399-module-subclass-data-descriptorhttps://github.com/skdas20/cpython/tree/gh-156399-module-subclass-data-descriptor
https://github.com/skdas20
skdas20https://github.com/skdas20
Aug 27, 2026https://github.com/python/cpython/pull/156474#issue-5269065415
Please reload this pagehttps://github.com/python/cpython/pull/156474
#156399https://github.com/python/cpython/issues/156399
LOAD_ATTR specialization for ModuleType subclasses bypasses data descriptors on the subclass (3.14 regression) #156399https://github.com/python/cpython/issues/156399
Please reload this pagehttps://github.com/python/cpython/pull/156474
https://github.com/skdas20
pythongh-156399https://github.com/python/cpython/issues/156399
: Don't specialize LOAD_ATTR_MODULE for module subclasseshttps://github.com/python/cpython/pull/156474/commits/18396d96084f7e846d50d77f99c5bfe1fd36747a
18396d9https://github.com/python/cpython/pull/156474/commits/18396d96084f7e846d50d77f99c5bfe1fd36747a
https://github.com/skdas20
skdas20https://github.com/skdas20
markshannonhttps://github.com/markshannon
code ownerhttps://github.com/python/cpython/blob/eb089020696e451e64a51534726efa80dcbdc902/.github/CODEOWNERS#L218
August 27, 2026 15:05https://github.com/python/cpython/pull/156474#event-30112523554
https://github.com/apps/python-cla-bot
python-cla-bothttps://github.com/apps/python-cla-bot
Aug 27, 2026https://github.com/python/cpython/pull/156474#issuecomment-5441086900
Please reload this pagehttps://github.com/python/cpython/pull/156474
https://cla.python.org/
Please reload this pagehttps://github.com/python/cpython/pull/156474
https://github.com/apps/bedevere-app
bedevere-apphttps://github.com/apps/bedevere-app
Aug 27, 2026 https://github.com/python/cpython/pull/156474#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.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
Aug 27, 2026https://github.com/python/cpython/pull/156474#event-30112531518
https://github.com/eendebakpt
eendebakpthttps://github.com/eendebakpt
Oct 22, 2026 https://github.com/python/cpython/pull/156474#ref-pullrequest-5981964452
gh-92041: Resolve registered frames from verified globals ownership #160254 https://github.com/python/cpython/pull/160254
https://github.com/eendebakpt
eendebakpthttps://github.com/eendebakpt
Oct 22, 2026https://github.com/python/cpython/pull/156474#issuecomment-6350596268
@skirpichevhttps://github.com/skirpichev
@Fidget-Spinnerhttps://github.com/Fidget-Spinner
Please reload this pagehttps://github.com/python/cpython/pull/156474
https://github.com/eendebakpt
eendebakpthttps://github.com/eendebakpt
3.14 https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A3.14
3.15 https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A3.15
Oct 22, 2026https://github.com/python/cpython/pull/156474#event-33990895172
https://github.com/skirpichev
skirpichevhttps://github.com/skirpichev
October 22, 2026 21:06https://github.com/python/cpython/pull/156474#event-33993863198
https://github.com/markshannon
markshannonhttps://github.com/markshannon
Oct 22, 2026 https://github.com/python/cpython/pull/156474#pullrequestreview-5621423539
View reviewed changes https://github.com/python/cpython/pull/156474/files/18396d96084f7e846d50d77f99c5bfe1fd36747a
markshannonhttps://github.com/markshannon
https://github.com/python/cpython/pull/156474#pullrequestreview-5621423539
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/python/cpython/pull/156474
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
Oct 22, 2026https://github.com/python/cpython/pull/156474#event-33997857291
https://github.com/skirpichev
skirpichevhttps://github.com/skirpichev
Oct 22, 2026 https://github.com/python/cpython/pull/156474#pullrequestreview-5622079340
View reviewed changes https://github.com/python/cpython/pull/156474/files/18396d96084f7e846d50d77f99c5bfe1fd36747a
skirpichevhttps://github.com/skirpichev
https://github.com/python/cpython/pull/156474#pullrequestreview-5622079340
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
#103951https://github.com/python/cpython/issues/103951
Please reload this pagehttps://github.com/python/cpython/pull/156474
https://github.com/markshannon
markshannonhttps://github.com/markshannon
85599d3https://github.com/python/cpython/commit/85599d33d734c9e586f0dd9b7fc87ec0b9f2a6b5
Oct 22, 2026https://github.com/python/cpython/pull/156474#event-34004472038
Please reload this pagehttps://github.com/python/cpython/pull/156474
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
Oct 22, 2026https://github.com/python/cpython/pull/156474#event-34004475552
https://github.com/markshannon
markshannonhttps://github.com/markshannon
Oct 22, 2026https://github.com/python/cpython/pull/156474#issuecomment-6353954169
#103951https://github.com/python/cpython/issues/103951
Please reload this pagehttps://github.com/python/cpython/pull/156474
https://github.com/lagergren-oai
lagergren-oaihttps://github.com/lagergren-oai
Nov 24, 2026 https://github.com/python/cpython/pull/156474#ref-issue-6586542985
LOAD_ATTR_MODULE bypasses built-in data descriptors on exact module objects #162565 https://github.com/python/cpython/issues/162565
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%2F156474
https://github.com/skirpichev
skirpichev https://github.com/skirpichev
https://github.com/python/cpython/pull/156474/files/18396d96084f7e846d50d77f99c5bfe1fd36747a
https://github.com/markshannon
markshannon https://github.com/markshannon
https://github.com/python/cpython/pull/156474/files/18396d96084f7e846d50d77f99c5bfe1fd36747a
Please reload this pagehttps://github.com/python/cpython/pull/156474
3.14 https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A3.14
3.15 https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A3.15
LOAD_ATTR specialization for ModuleType subclasses bypasses data descriptors on the subclass (3.14 regression) https://github.com/python/cpython/issues/156399
Please reload this pagehttps://github.com/python/cpython/pull/156474
https://github.com/skdas20
https://github.com/eendebakpt
https://github.com/markshannon
https://github.com/skirpichev
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.