René's URL Explorer Experiment


Title: Change the spec for class access of Self variables by davidhalter · Pull Request #2148 · python/typing · GitHub

Open Graph Title: Change the spec for class access of Self variables by davidhalter · Pull Request #2148 · python/typing

X Title: Change the spec for class access of Self variables by davidhalter · Pull Request #2148 · python/typing

Description: I have tried to create a first draft for disallowing access to variables through the class object containing Self, as discussed here. The general reception of this proposed change was pretty positi...

Open Graph Description: I have tried to create a first draft for disallowing access to variables through the class object containing Self, as discussed here. The general reception of this proposed change was pretty positi...

X Description: I have tried to create a first draft for disallowing access to variables through the class object containing Self, as discussed here. The general reception of this proposed change was pretty positi...

Opengraph URL: https://github.com/python/typing/pull/2148

X: @github

direct link

Domain: patch-diff.githubusercontent.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:1e6abc34-6282-9775-6409-896ef88937c2
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idD70A:4DE08:2BF1A38:3CCE351:6970100E
html-safe-nonce5c6008fc1242f5861567504b3f53799b0c17f8fb3b857574d6efd4446861d279
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJENzBBOjRERTA4OjJCRjFBMzg6M0NDRTM1MTo2OTcwMTAwRSIsInZpc2l0b3JfaWQiOiI2NjE4MDIzMDg4NTAxMDM1MDIzIiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0=
visitor-hmac714dd8a7e0888ac17ead52ead6bd834675ca357c8dc036afd5f80511dcca7030
hovercard-subject-tagpull_request:3157664465
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/typing/2148/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/b1a1d36cbbd55a9d685f41166bb296510a8a5ccc91f21e5ccfda234352e88807/python/typing/pull/2148
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/b1a1d36cbbd55a9d685f41166bb296510a8a5ccc91f21e5ccfda234352e88807/python/typing/pull/2148
og:image:altI have tried to create a first draft for disallowing access to variables through the class object containing Self, as discussed here. The general reception of this proposed change was pretty positi...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamedavidhalter
hostnamegithub.com
expected-hostnamegithub.com
None043a09521e81f00c45482046b3f38390b8b292cf9a86ad665a632633a072c05c
turbo-cache-controlno-preview
go-importgithub.com/python/typing git https://github.com/python/typing.git
octolytics-dimension-user_id1525981
octolytics-dimension-user_loginpython
octolytics-dimension-repository_id24604008
octolytics-dimension-repository_nwopython/typing
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id24604008
octolytics-dimension-repository_network_root_nwopython/typing
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
release98881eadf8ae73000970c42161c094b0809b1330
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://patch-diff.githubusercontent.com/python/typing/pull/2148#start-of-content
https://patch-diff.githubusercontent.com/
Sign in https://patch-diff.githubusercontent.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Ftyping%2Fpull%2F2148
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://patch-diff.githubusercontent.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Ftyping%2Fpull%2F2148
Sign up https://patch-diff.githubusercontent.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%2Ftyping
Reloadhttps://patch-diff.githubusercontent.com/python/typing/pull/2148
Reloadhttps://patch-diff.githubusercontent.com/python/typing/pull/2148
Reloadhttps://patch-diff.githubusercontent.com/python/typing/pull/2148
python https://patch-diff.githubusercontent.com/python
typinghttps://patch-diff.githubusercontent.com/python/typing
Notifications https://patch-diff.githubusercontent.com/login?return_to=%2Fpython%2Ftyping
Fork 285 https://patch-diff.githubusercontent.com/login?return_to=%2Fpython%2Ftyping
Star 1.7k https://patch-diff.githubusercontent.com/login?return_to=%2Fpython%2Ftyping
Code https://patch-diff.githubusercontent.com/python/typing
Issues 188 https://patch-diff.githubusercontent.com/python/typing/issues
Pull requests 15 https://patch-diff.githubusercontent.com/python/typing/pulls
Discussions https://patch-diff.githubusercontent.com/python/typing/discussions
Actions https://patch-diff.githubusercontent.com/python/typing/actions
Security Uh oh! There was an error while loading. Please reload this page. https://patch-diff.githubusercontent.com/python/typing/security
Please reload this pagehttps://patch-diff.githubusercontent.com/python/typing/pull/2148
Insights https://patch-diff.githubusercontent.com/python/typing/pulse
Code https://patch-diff.githubusercontent.com/python/typing
Issues https://patch-diff.githubusercontent.com/python/typing/issues
Pull requests https://patch-diff.githubusercontent.com/python/typing/pulls
Discussions https://patch-diff.githubusercontent.com/python/typing/discussions
Actions https://patch-diff.githubusercontent.com/python/typing/actions
Security https://patch-diff.githubusercontent.com/python/typing/security
Insights https://patch-diff.githubusercontent.com/python/typing/pulse
Sign up for GitHub https://patch-diff.githubusercontent.com/signup?return_to=%2Fpython%2Ftyping%2Fissues%2Fnew%2Fchoose
terms of servicehttps://docs.github.com/terms
privacy statementhttps://docs.github.com/privacy
Sign inhttps://patch-diff.githubusercontent.com/login?return_to=%2Fpython%2Ftyping%2Fissues%2Fnew%2Fchoose
Jump to bottomhttps://patch-diff.githubusercontent.com/python/typing/pull/2148#issue-comment-box
davidhalterhttps://patch-diff.githubusercontent.com/davidhalter
python:mainhttps://patch-diff.githubusercontent.com/python/typing/tree/main
davidhalter:disallow-self-class-accesshttps://patch-diff.githubusercontent.com/davidhalter/typing/tree/disallow-self-class-access
Change the spec for class access of Self variables https://patch-diff.githubusercontent.com/python/typing/pull/2148#top
davidhalterhttps://patch-diff.githubusercontent.com/davidhalter
python:mainhttps://patch-diff.githubusercontent.com/python/typing/tree/main
davidhalter:disallow-self-class-accesshttps://patch-diff.githubusercontent.com/davidhalter/typing/tree/disallow-self-class-access
Conversation 3 https://patch-diff.githubusercontent.com/python/typing/pull/2148
Commits 2 https://patch-diff.githubusercontent.com/python/typing/pull/2148/commits
Checks 2 https://patch-diff.githubusercontent.com/python/typing/pull/2148/checks
Files changed https://patch-diff.githubusercontent.com/python/typing/pull/2148/files
Please reload this pagehttps://patch-diff.githubusercontent.com/python/typing/pull/2148
https://github.co/hiddenchars
https://patch-diff.githubusercontent.com/python/typing/pull/{{ revealButtonHref }}
https://patch-diff.githubusercontent.com/davidhalter
davidhalterhttps://patch-diff.githubusercontent.com/davidhalter
Jan 8, 2026https://patch-diff.githubusercontent.com/python/typing/pull/2148#issue-3794616998
herehttps://discuss.python.org/t/disallow-access-to-class-variables-with-self/105434
Please reload this pagehttps://patch-diff.githubusercontent.com/python/typing/pull/2148
https://patch-diff.githubusercontent.com/davidhalter
Change the spec for class access of Self variableshttps://patch-diff.githubusercontent.com/python/typing/pull/2148/commits/88422ea1b6553a88264d6b5d26e671c4a6abd4f6
88422eahttps://patch-diff.githubusercontent.com/python/typing/pull/2148/commits/88422ea1b6553a88264d6b5d26e671c4a6abd4f6
https://patch-diff.githubusercontent.com/davidhalter
davidhalterhttps://patch-diff.githubusercontent.com/davidhalter
force-pushedhttps://patch-diff.githubusercontent.com/python/typing/compare/26f68f4baeefc2a4ea343cb109d74ba6caa4180d..88422ea1b6553a88264d6b5d26e671c4a6abd4f6
26f68f4https://patch-diff.githubusercontent.com/python/typing/commit/26f68f4baeefc2a4ea343cb109d74ba6caa4180d
88422eahttps://patch-diff.githubusercontent.com/python/typing/commit/88422ea1b6553a88264d6b5d26e671c4a6abd4f6
Compare https://patch-diff.githubusercontent.com/python/typing/compare/26f68f4baeefc2a4ea343cb109d74ba6caa4180d..88422ea1b6553a88264d6b5d26e671c4a6abd4f6
January 8, 2026 22:08https://patch-diff.githubusercontent.com/python/typing/pull/2148#event-21933952411
https://patch-diff.githubusercontent.com/carljm
carljmhttps://patch-diff.githubusercontent.com/carljm
Jan 13, 2026 https://patch-diff.githubusercontent.com/python/typing/pull/2148#pullrequestreview-3658192641
View reviewed changes https://patch-diff.githubusercontent.com/python/typing/pull/2148/files/88422ea1b6553a88264d6b5d26e671c4a6abd4f6
carljmhttps://patch-diff.githubusercontent.com/carljm
https://patch-diff.githubusercontent.com/python/typing/pull/2148#pullrequestreview-3658192641
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
https://discuss.python.org/t/disallow-access-to-class-variables-with-self/105434/8https://discuss.python.org/t/disallow-access-to-class-variables-with-self/105434/8
Please reload this pagehttps://patch-diff.githubusercontent.com/python/typing/pull/2148
conformance/tests/generics_self_advanced.pyhttps://patch-diff.githubusercontent.com/python/typing/pull/2148/files/88422ea1b6553a88264d6b5d26e671c4a6abd4f6#diff-ad03061e4f6c67043a24fb05a9f437735aacdd2c2de8758b4ab203242361d546
carljmhttps://patch-diff.githubusercontent.com/carljm
Jan 13, 2026https://patch-diff.githubusercontent.com/python/typing/pull/2148#discussion_r2688338730
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://patch-diff.githubusercontent.com/python/typing/pull/2148
davidhalterhttps://patch-diff.githubusercontent.com/davidhalter
Jan 14, 2026https://patch-diff.githubusercontent.com/python/typing/pull/2148#discussion_r2689505249
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://patch-diff.githubusercontent.com/python/typing/pull/2148
https://patch-diff.githubusercontent.com/davidhalter
Fix a test casehttps://patch-diff.githubusercontent.com/python/typing/pull/2148/commits/d159fd32b9c6217fee3aaa149f68647c96f2bf9c
d159fd3https://patch-diff.githubusercontent.com/python/typing/pull/2148/commits/d159fd32b9c6217fee3aaa149f68647c96f2bf9c
https://patch-diff.githubusercontent.com/davidhalter
davidhalterhttps://patch-diff.githubusercontent.com/davidhalter
force-pushedhttps://patch-diff.githubusercontent.com/python/typing/compare/3761f07549b5369fc58d146d68263b656de9873d..d159fd32b9c6217fee3aaa149f68647c96f2bf9c
3761f07https://patch-diff.githubusercontent.com/python/typing/commit/3761f07549b5369fc58d146d68263b656de9873d
d159fd3https://patch-diff.githubusercontent.com/python/typing/commit/d159fd32b9c6217fee3aaa149f68647c96f2bf9c
Compare https://patch-diff.githubusercontent.com/python/typing/compare/3761f07549b5369fc58d146d68263b656de9873d..d159fd32b9c6217fee3aaa149f68647c96f2bf9c
January 14, 2026 08:44https://patch-diff.githubusercontent.com/python/typing/pull/2148#event-22037263677
Sign up for freehttps://patch-diff.githubusercontent.com/join?source=comment-repo
Sign in to commenthttps://patch-diff.githubusercontent.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Ftyping%2Fpull%2F2148
https://patch-diff.githubusercontent.com/carljm
carljm https://patch-diff.githubusercontent.com/carljm
https://patch-diff.githubusercontent.com/python/typing/pull/2148/files/88422ea1b6553a88264d6b5d26e671c4a6abd4f6
Please reload this pagehttps://patch-diff.githubusercontent.com/python/typing/pull/2148
https://patch-diff.githubusercontent.com/davidhalter
https://patch-diff.githubusercontent.com/carljm
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.