René's URL Explorer Experiment


Title: bpo-45383: Inherit MetaClass from bases in FromSpec API by seberg · Pull Request #28748 · python/cpython · GitHub

Open Graph Title: bpo-45383: Inherit MetaClass from bases in FromSpec API by seberg · Pull Request #28748 · python/cpython

X Title: bpo-45383: Inherit MetaClass from bases in FromSpec API by seberg · Pull Request #28748 · python/cpython

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

Open Graph Description: This checks the bases of of a type created using the FromSpec API to inherit the bases metaclasses. The MetaClasses alloc function will be called as is done in tp_new for classes created in Python...

X Description: This checks the bases of of a type created using the FromSpec API to inherit the bases metaclasses. The MetaClasses alloc function will be called as is done in tp_new for classes created in Python...

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

X: @github

direct link

Domain: github.com

route-pattern/:user_id/:repository/pull/:id/commits(.:format)
route-controllerpull_requests
route-actioncommits
fetch-noncev2:3a9e5f88-28e8-7a84-2fea-f4a90b9c1a04
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idEC6C:9F506:42BCC1:5888FF:69697F37
html-safe-noncef541da8f58c3195b2dfaca2b73868475b33d816cde8314a2bad0b048ed0366bc
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFQzZDOjlGNTA2OjQyQkNDMTo1ODg4RkY6Njk2OTdGMzciLCJ2aXNpdG9yX2lkIjoiNDE3Mjc4OTI1MjE1NzQzOTc5OSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmace5589c73891f07b05ca42e11f5d81c208e54b226202418f83487a9169e94c826
hovercard-subject-tagpull_request:750374450
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///pull_requests/show/commits
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/python/cpython/pull/28748/commits
twitter:imagehttps://opengraph.githubassets.com/33fda9ad17afda1419645b97d589859ad74828f8382845dfd5bc725cdab99868/python/cpython/pull/28748
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/33fda9ad17afda1419645b97d589859ad74828f8382845dfd5bc725cdab99868/python/cpython/pull/28748
og:image:altThis checks the bases of of a type created using the FromSpec API to inherit the bases metaclasses. The MetaClasses alloc function will be called as is done in tp_new for classes created in Python...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernameseberg
hostnamegithub.com
expected-hostnamegithub.com
Nonef33e4b94c8824ab2b434d82a94139432fb5ebee9df4b75304140ad22508c4a77
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
release48f380098b30acbb700b04f1724481ca10d574fc
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/python/cpython/pull/28748/commits#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F28748%2Fcommits
GitHub CopilotWrite better code with AIhttps://github.com/features/copilot
GitHub SparkBuild and deploy intelligent appshttps://github.com/features/spark
GitHub ModelsManage and compare promptshttps://github.com/features/models
MCP RegistryNewIntegrate external toolshttps://github.com/mcp
ActionsAutomate any workflowhttps://github.com/features/actions
CodespacesInstant dev environmentshttps://github.com/features/codespaces
IssuesPlan and track workhttps://github.com/features/issues
Code ReviewManage code changeshttps://github.com/features/code-review
GitHub Advanced SecurityFind and fix vulnerabilitieshttps://github.com/security/advanced-security
Code securitySecure your code as you buildhttps://github.com/security/advanced-security/code-security
Secret protectionStop leaks before they starthttps://github.com/security/advanced-security/secret-protection
Why GitHubhttps://github.com/why-github
Documentationhttps://docs.github.com
Bloghttps://github.blog
Changeloghttps://github.blog/changelog
Marketplacehttps://github.com/marketplace
View all featureshttps://github.com/features
Enterpriseshttps://github.com/enterprise
Small and medium teamshttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
App Modernizationhttps://github.com/solutions/use-case/app-modernization
DevSecOpshttps://github.com/solutions/use-case/devsecops
DevOpshttps://github.com/solutions/use-case/devops
CI/CDhttps://github.com/solutions/use-case/ci-cd
View all use caseshttps://github.com/solutions/use-case
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
View all industrieshttps://github.com/solutions/industry
View all solutionshttps://github.com/solutions
AIhttps://github.com/resources/articles?topic=ai
Software Developmenthttps://github.com/resources/articles?topic=software-development
DevOpshttps://github.com/resources/articles?topic=devops
Securityhttps://github.com/resources/articles?topic=security
View all topicshttps://github.com/resources/articles
Customer storieshttps://github.com/customer-stories
Events & webinarshttps://github.com/resources/events
Ebooks & reportshttps://github.com/resources/whitepapers
Business insightshttps://github.com/solutions/executive-insights
GitHub Skillshttps://skills.github.com
Documentationhttps://docs.github.com
Customer supporthttps://support.github.com
Community forumhttps://github.com/orgs/community/discussions
Trust centerhttps://github.com/trust-center
Partnershttps://github.com/partners
GitHub SponsorsFund open source developershttps://github.com/sponsors
Security Labhttps://securitylab.github.com
Maintainer Communityhttps://maintainers.github.com
Acceleratorhttps://github.com/accelerator
Archive Programhttps://archiveprogram.github.com
Topicshttps://github.com/topics
Trendinghttps://github.com/trending
Collectionshttps://github.com/collections
Enterprise platformAI-powered developer platformhttps://github.com/enterprise
GitHub Advanced SecurityEnterprise-grade security featureshttps://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/premium-support
Pricinghttps://github.com/pricing
Search syntax tipshttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
documentationhttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F28748%2Fcommits
Sign up https://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fpull_requests%2Fshow%2Fcommits&source=header-repo&source_repo=python%2Fcpython
Reloadhttps://github.com/python/cpython/pull/28748/commits
Reloadhttps://github.com/python/cpython/pull/28748/commits
Reloadhttps://github.com/python/cpython/pull/28748/commits
python https://github.com/python
cpythonhttps://github.com/python/cpython
Please reload this pagehttps://github.com/python/cpython/pull/28748/commits
Notifications https://github.com/login?return_to=%2Fpython%2Fcpython
Fork 33.9k https://github.com/login?return_to=%2Fpython%2Fcpython
Star 71.1k https://github.com/login?return_to=%2Fpython%2Fcpython
Code https://github.com/python/cpython
Issues 5k+ https://github.com/python/cpython/issues
Pull requests 2.1k https://github.com/python/cpython/pulls
Actions https://github.com/python/cpython/actions
Projects 31 https://github.com/python/cpython/projects
Security Uh oh! There was an error while loading. Please reload this page. https://github.com/python/cpython/security
Please reload this pagehttps://github.com/python/cpython/pull/28748/commits
Insights https://github.com/python/cpython/pulse
Code https://github.com/python/cpython
Issues https://github.com/python/cpython/issues
Pull requests https://github.com/python/cpython/pulls
Actions https://github.com/python/cpython/actions
Projects https://github.com/python/cpython/projects
Security https://github.com/python/cpython/security
Insights https://github.com/python/cpython/pulse
encukouhttps://github.com/encukou
python:mainhttps://github.com/python/cpython/tree/main
seberg:fromspec-metatype-inheritancehttps://github.com/seberg/cpython/tree/fromspec-metatype-inheritance
Conversationhttps://github.com/python/cpython/pull/28748
Commits19 (19)https://github.com/python/cpython/pull/28748/commits
Checkshttps://github.com/python/cpython/pull/28748/checks
Files changedhttps://github.com/python/cpython/pull/28748/files
bpo-45383: Inherit MetaClass from bases in FromSpec APIhttps://github.com/python/cpython/pull/28748/commits#top
encukouhttps://github.com/encukou
python:mainhttps://github.com/python/cpython/tree/main
seberg:fromspec-metatype-inheritancehttps://github.com/seberg/cpython/tree/fromspec-metatype-inheritance
BUG: Inherit MetaClass from bases in FromSpec APIhttps://github.com/python/cpython/pull/28748/commits/67c8a97affcb9dbb12f44fdb7767e756b82ea34b
https://github.com/seberg
seberghttps://github.com/python/cpython/commits?author=seberg
67c8a97https://github.com/python/cpython/pull/28748/commits/67c8a97affcb9dbb12f44fdb7767e756b82ea34b
https://github.com/python/cpython/tree/67c8a97affcb9dbb12f44fdb7767e756b82ea34b
📜🤖 Added by blurb_it.https://github.com/python/cpython/pull/28748/commits/2012aaa637fc4eadc941424782223bf762d018be
https://github.com/apps/blurb-it
blurb-it[bot]https://github.com/python/cpython/commits?author=blurb-it%5Bbot%5D
2012aaahttps://github.com/python/cpython/pull/28748/commits/2012aaa637fc4eadc941424782223bf762d018be
https://github.com/python/cpython/tree/2012aaa637fc4eadc941424782223bf762d018be
MAINT: Address review commentshttps://github.com/python/cpython/pull/28748/commits/881ba13faf8e725947a5a488aec68316c7b19cc1
https://github.com/seberg
seberghttps://github.com/python/cpython/commits?author=seberg
881ba13https://github.com/python/cpython/pull/28748/commits/881ba13faf8e725947a5a488aec68316c7b19cc1
https://github.com/python/cpython/tree/881ba13faf8e725947a5a488aec68316c7b19cc1
Merge in the main branchhttps://github.com/python/cpython/pull/28748/commits/6fd192648db52c5d8006204c377ec6eaf485ca29
https://github.com/encukou
encukouhttps://github.com/python/cpython/commits?author=encukou
6fd1926https://github.com/python/cpython/pull/28748/commits/6fd192648db52c5d8006204c377ec6eaf485ca29
https://github.com/python/cpython/tree/6fd192648db52c5d8006204c377ec6eaf485ca29
Disallow non-type metaclasseshttps://github.com/python/cpython/pull/28748/commits/aad745657bd69039ea906286a5bacf38174f95cc
https://github.com/encukou
encukouhttps://github.com/python/cpython/commits?author=encukou
aad7456https://github.com/python/cpython/pull/28748/commits/aad745657bd69039ea906286a5bacf38174f95cc
https://github.com/python/cpython/tree/aad745657bd69039ea906286a5bacf38174f95cc
Use custom metaclasses for the tests, rather than stuff from ctypeshttps://github.com/python/cpython/pull/28748/commits/aba4208e975802acb910714f91fe7ee4883fe9a0
https://github.com/encukou
encukouhttps://github.com/python/cpython/commits?author=encukou
aba4208https://github.com/python/cpython/pull/28748/commits/aba4208e975802acb910714f91fe7ee4883fe9a0
https://github.com/python/cpython/tree/aba4208e975802acb910714f91fe7ee4883fe9a0
Make PyType_FromMetaclass refcounting easier to followhttps://github.com/python/cpython/pull/28748/commits/4eb003a808c321be0cdf3cacb67131dde835f904
https://github.com/encukou
encukouhttps://github.com/python/cpython/commits?author=encukou
4eb003ahttps://github.com/python/cpython/pull/28748/commits/4eb003a808c321be0cdf3cacb67131dde835f904
https://github.com/python/cpython/tree/4eb003a808c321be0cdf3cacb67131dde835f904
Adjust documentationhttps://github.com/python/cpython/pull/28748/commits/1ae7969b99c50f7b2a2a943e3740f5634d612c41
https://github.com/encukou
encukouhttps://github.com/python/cpython/commits?author=encukou
1ae7969https://github.com/python/cpython/pull/28748/commits/1ae7969b99c50f7b2a2a943e3740f5634d612c41
https://github.com/python/cpython/tree/1ae7969b99c50f7b2a2a943e3740f5634d612c41
Fix type warninghttps://github.com/python/cpython/pull/28748/commits/6001a3322fc287fe4f4c1dd6a86e25c1d4cbc7d0
https://github.com/encukou
encukouhttps://github.com/python/cpython/commits?author=encukou
6001a33https://github.com/python/cpython/pull/28748/commits/6001a3322fc287fe4f4c1dd6a86e25c1d4cbc7d0
https://github.com/python/cpython/tree/6001a3322fc287fe4f4c1dd6a86e25c1d4cbc7d0
Remove unused includes from _testcapimodule.chttps://github.com/python/cpython/pull/28748/commits/1ad0ecadb217d42886e9abe4d08c25d76124d743
https://github.com/encukou
encukouhttps://github.com/python/cpython/commits?author=encukou
1ad0ecahttps://github.com/python/cpython/pull/28748/commits/1ad0ecadb217d42886e9abe4d08c25d76124d743
https://github.com/python/cpython/tree/1ad0ecadb217d42886e9abe4d08c25d76124d743
Use an explicit role in the News entryhttps://github.com/python/cpython/pull/28748/commits/ea6981952ad9d418fef890fdfc35f59b69d502b7
https://github.com/encukou
encukouhttps://github.com/python/cpython/commits?author=encukou
ea69819https://github.com/python/cpython/pull/28748/commits/ea6981952ad9d418fef890fdfc35f59b69d502b7
https://github.com/python/cpython/tree/ea6981952ad9d418fef890fdfc35f59b69d502b7
Test that __subclasses__ is updated properlyhttps://github.com/python/cpython/pull/28748/commits/cb1527ff40107f1d3d64799008ac599ab8e5ad9a
https://github.com/encukou
encukouhttps://github.com/python/cpython/commits?author=encukou
cb1527fhttps://github.com/python/cpython/pull/28748/commits/cb1527ff40107f1d3d64799008ac599ab8e5ad9a
https://github.com/python/cpython/tree/cb1527ff40107f1d3d64799008ac599ab8e5ad9a
Document caveats, suggest that PyType_From* is not for user-provided classeshttps://github.com/python/cpython/pull/28748/commits/f86d2b5a6aa47feb8199ab25b51f3c330594ec2d
https://github.com/encukou
encukouhttps://github.com/python/cpython/commits?author=encukou
f86d2b5https://github.com/python/cpython/pull/28748/commits/f86d2b5a6aa47feb8199ab25b51f3c330594ec2d
https://github.com/python/cpython/tree/f86d2b5a6aa47feb8199ab25b51f3c330594ec2d
Remove unused variablehttps://github.com/python/cpython/pull/28748/commits/93c65e81e94d33eee6d1c087c933ac46486dd77c
https://github.com/encukou
encukouhttps://github.com/python/cpython/commits?author=encukou
93c65e8https://github.com/python/cpython/pull/28748/commits/93c65e81e94d33eee6d1c087c933ac46486dd77c
https://github.com/python/cpython/tree/93c65e81e94d33eee6d1c087c933ac46486dd77c
Move bases calculation before the allocationhttps://github.com/python/cpython/pull/28748/commits/d881750fece555526a24caba53dc1d8a838ee4ec
https://github.com/encukou
encukouhttps://github.com/python/cpython/commits?author=encukou
d881750https://github.com/python/cpython/pull/28748/commits/d881750fece555526a24caba53dc1d8a838ee4ec
https://github.com/python/cpython/tree/d881750fece555526a24caba53dc1d8a838ee4ec
Fix compiler warning for Py_NewRef resulthttps://github.com/python/cpython/pull/28748/commits/a7af972e72ad6ee70fb241f66b511d7feea41b4e
https://github.com/encukou
encukouhttps://github.com/python/cpython/commits?author=encukou
a7af972https://github.com/python/cpython/pull/28748/commits/a7af972e72ad6ee70fb241f66b511d7feea41b4e
https://github.com/python/cpython/tree/a7af972e72ad6ee70fb241f66b511d7feea41b4e
Use PyErr_Occurred rather than a variablehttps://github.com/python/cpython/pull/28748/commits/2f47be342c056c4008ea111a11cf8dadb5f03d0e
https://github.com/encukou
encukouhttps://github.com/python/cpython/commits?author=encukou
2f47be3https://github.com/python/cpython/pull/28748/commits/2f47be342c056c4008ea111a11cf8dadb5f03d0e
https://github.com/python/cpython/tree/2f47be342c056c4008ea111a11cf8dadb5f03d0e
Use PEP 7 stylehttps://github.com/python/cpython/pull/28748/commits/ef6bccecd78f76f5015e4667f0dcde60f53dc26c
https://github.com/encukou
encukouhttps://github.com/python/cpython/commits?author=encukou
ef6bccehttps://github.com/python/cpython/pull/28748/commits/ef6bccecd78f76f5015e4667f0dcde60f53dc26c
https://github.com/python/cpython/tree/ef6bccecd78f76f5015e4667f0dcde60f53dc26c
Replace duplicate Py_TPFLAGS_BASETYPE check with an asserthttps://github.com/python/cpython/pull/28748/commits/6b31880cf77b079386844e9d3a43cdcc712d3264
https://github.com/encukou
encukouhttps://github.com/python/cpython/commits?author=encukou
6b31880https://github.com/python/cpython/pull/28748/commits/6b31880cf77b079386844e9d3a43cdcc712d3264
https://github.com/python/cpython/tree/6b31880cf77b079386844e9d3a43cdcc712d3264
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.