René's URL Explorer Experiment


Title: gh-41779: Allow defining the __dict__ and __weakref__ __slots__ for any class by serhiy-storchaka · Pull Request #141755 · python/cpython · GitHub

Open Graph Title: gh-41779: Allow defining the __dict__ and __weakref__ __slots__ for any class by serhiy-storchaka · Pull Request #141755 · python/cpython

X Title: gh-41779: Allow defining the __dict__ and __weakref__ __slots__ for any class by serhiy-storchaka · Pull Request #141755 · python/cpython

Description: Issue: __slots__ for subclasses of variable length types #41779 📚 Documentation preview 📚: https://cpython-previews--141755.org.readthedocs.build/

Open Graph Description: Issue: __slots__ for subclasses of variable length types #41779 📚 Documentation preview 📚: https://cpython-previews--141755.org.readthedocs.build/

X Description: Issue: __slots__ for subclasses of variable length types #41779 📚 Documentation preview 📚: https://cpython-previews--141755.org.readthedocs.build/

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

X: @github

direct link

Domain: github.com

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:4b864df2-33f7-7a1f-5f7f-ec48db0282c3
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idD0E0:206DE9:44C1E2:6091AF:696A215E
html-safe-nonce312490ae64bca7e64a1728328ecba3b97b7524f71ad1c4fd0f41ed595fe1407b
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJEMEUwOjIwNkRFOTo0NEMxRTI6NjA5MUFGOjY5NkEyMTVFIiwidmlzaXRvcl9pZCI6Ijc0MTI3NDYzNTA4Nzc4MjIzOCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmacfe2a10b07f9c93ba607a6f14aa44d2d7a07e68f07067106ee9418dd028aa8441
hovercard-subject-tagpull_request:3026343497
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/141755/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/c614c50bb726700a836c6808dcfcab5de4fbcaf84aac47670cdd50493a2c9b1b/python/cpython/pull/141755
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/c614c50bb726700a836c6808dcfcab5de4fbcaf84aac47670cdd50493a2c9b1b/python/cpython/pull/141755
og:image:altIssue: __slots__ for subclasses of variable length types #41779 📚 Documentation preview 📚: https://cpython-previews--141755.org.readthedocs.build/
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernameserhiy-storchaka
hostnamegithub.com
expected-hostnamegithub.com
None014f3d193f36b7d393f88ca22d06fbacd370800b40a547c1ea67291e02dc8ea3
turbo-cache-controlno-preview
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
released515f6f09fa57a93bf90355cb894eb84ca4f458f
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/python/cpython/pull/141755#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F141755
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%2F141755
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%2Fvoltron%2Fpull_requests_fragments%2Fpull_request_layout&source=header-repo&source_repo=python%2Fcpython
Reloadhttps://github.com/python/cpython/pull/141755
Reloadhttps://github.com/python/cpython/pull/141755
Reloadhttps://github.com/python/cpython/pull/141755
python https://github.com/python
cpythonhttps://github.com/python/cpython
Please reload this pagehttps://github.com/python/cpython/pull/141755
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/141755
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
Sign up for GitHub https://github.com/signup?return_to=%2Fpython%2Fcpython%2Fissues%2Fnew%2Fchoose
terms of servicehttps://docs.github.com/terms
privacy statementhttps://docs.github.com/privacy
Sign inhttps://github.com/login?return_to=%2Fpython%2Fcpython%2Fissues%2Fnew%2Fchoose
Jump to bottomhttps://github.com/python/cpython/pull/141755#issue-comment-box
serhiy-storchakahttps://github.com/serhiy-storchaka
python:mainhttps://github.com/python/cpython/tree/main
serhiy-storchaka:special-slots-with-items3https://github.com/serhiy-storchaka/cpython/tree/special-slots-with-items3
gh-41779: Allow defining the __dict__ and __weakref__ __slots__ for any class https://github.com/python/cpython/pull/141755#top
serhiy-storchakahttps://github.com/serhiy-storchaka
python:mainhttps://github.com/python/cpython/tree/main
serhiy-storchaka:special-slots-with-items3https://github.com/serhiy-storchaka/cpython/tree/special-slots-with-items3
Conversation 5 https://github.com/python/cpython/pull/141755
Commits 2 https://github.com/python/cpython/pull/141755/commits
Checks 44 https://github.com/python/cpython/pull/141755/checks
Files changed https://github.com/python/cpython/pull/141755/files
Please reload this pagehttps://github.com/python/cpython/pull/141755
https://github.co/hiddenchars
https://github.com/python/cpython/pull/{{ revealButtonHref }}
https://github.com/serhiy-storchaka
serhiy-storchakahttps://github.com/serhiy-storchaka
Nov 19, 2025https://github.com/python/cpython/pull/141755#issue-3643284332
Please reload this pagehttps://github.com/python/cpython/pull/141755
__slots__ for subclasses of variable length types #41779https://github.com/python/cpython/issues/41779
https://cpython-previews--141755.org.readthedocs.build/https://cpython-previews--141755.org.readthedocs.build/
Please reload this pagehttps://github.com/python/cpython/pull/141755
https://github.com/serhiy-storchaka
pythongh-41779https://github.com/python/cpython/issues/41779
: Allow defining the __dict__ and __weakref__ __slots__…https://github.com/python/cpython/pull/141755/commits/b42a86a78df3ae56107ec4cb3e190883908d6425
b42a86ahttps://github.com/python/cpython/pull/141755/commits/b42a86a78df3ae56107ec4cb3e190883908d6425
https://github.com/serhiy-storchaka
serhiy-storchakahttps://github.com/serhiy-storchaka
encukouhttps://github.com/encukou
November 19, 2025 15:30https://github.com/python/cpython/pull/141755#event-21046271831
https://github.com/serhiy-storchaka
serhiy-storchakahttps://github.com/serhiy-storchaka
AA-Turnerhttps://github.com/AA-Turner
markshannonhttps://github.com/markshannon
willingchttps://github.com/willingc
code ownershttps://github.com/python/cpython/blob/b3b63e8d6d296b879fddb5998b50f8c3842ca71c/.github/CODEOWNERS#L113
November 19, 2025 15:30https://github.com/python/cpython/pull/141755#event-21046272145
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
Nov 19, 2025https://github.com/python/cpython/pull/141755#event-21046273717
https://github.com/apps/bedevere-app
bedevere-apphttps://github.com/apps/bedevere-app
Nov 19, 2025 https://github.com/python/cpython/pull/141755#ref-issue-1198807748
__slots__ for subclasses of variable length types #41779 https://github.com/python/cpython/issues/41779
https://github.com/serhiy-storchaka
serhiy-storchakahttps://github.com/serhiy-storchaka
Nov 19, 2025 https://github.com/python/cpython/pull/141755#ref-pullrequest-3631026593
gh-103740: Improve support of __slots__ for variable-length classes #141636 https://github.com/python/cpython/pull/141636
https://github.com/encukou
encukouhttps://github.com/encukou
Nov 19, 2025 https://github.com/python/cpython/pull/141755#pullrequestreview-3483619290
View reviewed changes https://github.com/python/cpython/pull/141755/files/b42a86a78df3ae56107ec4cb3e190883908d6425
encukouhttps://github.com/encukou
https://github.com/python/cpython/pull/141755#pullrequestreview-3483619290
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/python/cpython/pull/141755
Lib/test/test_descr.pyhttps://github.com/python/cpython/pull/141755/files/b42a86a78df3ae56107ec4cb3e190883908d6425#diff-6b813570d02ae3544e7e0233ae21d647f8e2dc47486495557e8d16c80460e85b
Please reload this pagehttps://github.com/python/cpython/pull/141755
Lib/test/test_descr.pyhttps://github.com/python/cpython/pull/141755/files/b42a86a78df3ae56107ec4cb3e190883908d6425#diff-6b813570d02ae3544e7e0233ae21d647f8e2dc47486495557e8d16c80460e85b
Please reload this pagehttps://github.com/python/cpython/pull/141755
Objects/typeobject.chttps://github.com/python/cpython/pull/141755/files/b42a86a78df3ae56107ec4cb3e190883908d6425#diff-1decebeef15f4e0b0ce106c665751ec55068d4d1d1825847925ad4f528b5b872
Please reload this pagehttps://github.com/python/cpython/pull/141755
https://github.com/serhiy-storchaka
https://github.com/encukou
Apply suggestions from code reviewhttps://github.com/python/cpython/pull/141755/commits/66fa4459894da2cea6805c8e145714709cf2daf7
66fa445https://github.com/python/cpython/pull/141755/commits/66fa4459894da2cea6805c8e145714709cf2daf7
https://github.com/serhiy-storchaka
serhiy-storchakahttps://github.com/serhiy-storchaka
November 19, 2025 16:47https://github.com/python/cpython/pull/141755#event-21048203033
https://github.com/serhiy-storchaka
serhiy-storchakahttps://github.com/serhiy-storchaka
4bcab46https://github.com/python/cpython/commit/4bcab461c2185517284ae9764cca26fa4519a6e9
Nov 19, 2025https://github.com/python/cpython/pull/141755#event-21048744216
Please reload this pagehttps://github.com/python/cpython/pull/141755
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
Nov 19, 2025https://github.com/python/cpython/pull/141755#event-21048746085
https://github.com/bedevere-bot
bedevere-bothttps://github.com/bedevere-bot
Nov 19, 2025https://github.com/python/cpython/pull/141755#issuecomment-3553890741
4bcab46https://github.com/python/cpython/commit/4bcab461c2185517284ae9764cca26fa4519a6e9
the buildbot page in the devguidehttps://devguide.python.org/buildbots/
https://buildbot.python.org/#/builders/345/builds/12724https://buildbot.python.org/#/builders/345/builds/12724
4bcab46https://github.com/python/cpython/commit/4bcab461c2185517284ae9764cca26fa4519a6e9
https://buildbot.python.org/#/builders/345/builds/12724https://buildbot.python.org/#/builders/345/builds/12724
Please reload this pagehttps://github.com/python/cpython/pull/141755
serhiy-storchakahttps://github.com/serhiy-storchaka
Nov 19, 2025 https://github.com/python/cpython/pull/141755#ref-commit-6865073
https://github.com/serhiy-storchaka
pythongh-41779https://github.com/python/cpython/issues/41779
: Allow defining the __dict__ and __weakref__ __slots__…https://github.com/serhiy-storchaka/cpython/commit/68650734f61b6897771e6af367929f9f944e9843
6865073https://github.com/serhiy-storchaka/cpython/commit/68650734f61b6897771e6af367929f9f944e9843
pythonGH-141755https://github.com/python/cpython/pull/141755
StanFromIrelandhttps://github.com/StanFromIreland
Dec 6, 2025 https://github.com/python/cpython/pull/141755#ref-commit-b4b4f60
https://github.com/serhiy-storchaka
https://github.com/StanFromIreland
pythongh-41779https://github.com/python/cpython/issues/41779
: Allow defining the __dict__ and __weakref__ __slots__…https://github.com/StanFromIreland/cpython/commit/b4b4f6019264a9b73a0550a78f947154cc5d7d64
b4b4f60https://github.com/StanFromIreland/cpython/commit/b4b4f6019264a9b73a0550a78f947154cc5d7d64
pythonGH-141755https://github.com/python/cpython/pull/141755
ashm-devhttps://github.com/ashm-dev
Dec 8, 2025 https://github.com/python/cpython/pull/141755#ref-commit-abda153
https://github.com/serhiy-storchaka
https://github.com/ashm-dev
pythongh-41779https://github.com/python/cpython/issues/41779
: Allow defining the __dict__ and __weakref__ __slots__…https://github.com/ashm-dev/cpython/commit/abda153a884fbf5b833011110b94a5b59928464b
abda153https://github.com/ashm-dev/cpython/commit/abda153a884fbf5b833011110b94a5b59928464b
pythonGH-141755https://github.com/python/cpython/pull/141755
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%2F141755
https://github.com/encukou
encukou https://github.com/encukou
https://github.com/python/cpython/pull/141755/files/b42a86a78df3ae56107ec4cb3e190883908d6425
https://github.com/markshannon
markshannon https://github.com/markshannon
https://github.com/AA-Turner
AA-Turner https://github.com/AA-Turner
https://github.com/willingc
willingc https://github.com/willingc
Please reload this pagehttps://github.com/python/cpython/pull/141755
https://github.com/serhiy-storchaka
https://github.com/bedevere-bot
https://github.com/encukou
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.