René's URL Explorer Experiment


Title: gh-109118: Disallow nested scopes within PEP 695 scopes within classes by JelleZijlstra · Pull Request #109196 · python/cpython · GitHub

Open Graph Title: gh-109118: Disallow nested scopes within PEP 695 scopes within classes by JelleZijlstra · Pull Request #109196 · python/cpython

X Title: gh-109118: Disallow nested scopes within PEP 695 scopes within classes by JelleZijlstra · Pull Request #109196 · python/cpython

Description: Fixes #109118. Fixes #109194. See #109118 (comment). Issue: Annotation scopes containing nested scopes #109118

Open Graph Description: Fixes #109118. Fixes #109194. See #109118 (comment). Issue: Annotation scopes containing nested scopes #109118

X Description: Fixes #109118. Fixes #109194. See #109118 (comment). Issue: Annotation scopes containing nested scopes #109118

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

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:ffe7c94b-9e66-22f7-ce7d-5585afe42689
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idA01E:EF6F3:28B0773:350A75D:696B6A7A
html-safe-noncee4ec51b2797b6adb14e2179670110c63783892a1dfd9213ea3dd86bfd387dff1
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBMDFFOkVGNkYzOjI4QjA3NzM6MzUwQTc1RDo2OTZCNkE3QSIsInZpc2l0b3JfaWQiOiI0NTgyNzk0MjM5MDUyMzExMTYyIiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0=
visitor-hmacaa29152e1d3b57c8ef3637379735c7bf2228a164b8dd6a474e02922b317922af
hovercard-subject-tagpull_request:1508922107
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/109196/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/fc64a2a240e80abbfc6ecafe5437c735926ca6da7a8e3d1b47321fb6885e260d/python/cpython/pull/109196
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/fc64a2a240e80abbfc6ecafe5437c735926ca6da7a8e3d1b47321fb6885e260d/python/cpython/pull/109196
og:image:altFixes #109118. Fixes #109194. See #109118 (comment). Issue: Annotation scopes containing nested scopes #109118
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernameJelleZijlstra
hostnamegithub.com
expected-hostnamegithub.com
None5f99f7c1d70f01da5b93e5ca90303359738944d8ab470e396496262c66e60b8d
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
release82560a55c6b2054555076f46e683151ee28a19bc
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/python/cpython/pull/109196#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F109196
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%2F109196
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/109196
Reloadhttps://github.com/python/cpython/pull/109196
Reloadhttps://github.com/python/cpython/pull/109196
python https://github.com/python
cpythonhttps://github.com/python/cpython
Please reload this pagehttps://github.com/python/cpython/pull/109196
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/109196
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/109196#issue-comment-box
JelleZijlstrahttps://github.com/JelleZijlstra
python:mainhttps://github.com/python/cpython/tree/main
JelleZijlstra:fixclassgenexphttps://github.com/JelleZijlstra/cpython/tree/fixclassgenexp
gh-109118: Disallow nested scopes within PEP 695 scopes within classes https://github.com/python/cpython/pull/109196#top
JelleZijlstrahttps://github.com/JelleZijlstra
python:mainhttps://github.com/python/cpython/tree/main
JelleZijlstra:fixclassgenexphttps://github.com/JelleZijlstra/cpython/tree/fixclassgenexp
Conversation 3 https://github.com/python/cpython/pull/109196
Commits 5 https://github.com/python/cpython/pull/109196/commits
Checks 0 https://github.com/python/cpython/pull/109196/checks
Files changed https://github.com/python/cpython/pull/109196/files
Please reload this pagehttps://github.com/python/cpython/pull/109196
https://github.co/hiddenchars
https://github.com/python/cpython/pull/{{ revealButtonHref }}
https://github.com/JelleZijlstra
JelleZijlstrahttps://github.com/JelleZijlstra
Sep 9, 2023https://github.com/python/cpython/pull/109196#issue-1888857172
Please reload this pagehttps://github.com/python/cpython/pull/109196
#109118https://github.com/python/cpython/issues/109118
#109194https://github.com/python/cpython/issues/109194
#109118 (comment)https://github.com/python/cpython/issues/109118#issuecomment-1712587366
Annotation scopes containing nested scopes #109118https://github.com/python/cpython/issues/109118
Please reload this pagehttps://github.com/python/cpython/pull/109196
JelleZijlstrahttps://github.com/JelleZijlstra
September 9, 2023 10:37https://github.com/python/cpython/pull/109196#commits-pushed-0e99835
https://github.com/JelleZijlstra
New testhttps://github.com/python/cpython/pull/109196/commits/0e9983569eaf609c9a27834ec96cabc35282b261
0e99835https://github.com/python/cpython/pull/109196/commits/0e9983569eaf609c9a27834ec96cabc35282b261
https://github.com/JelleZijlstra
more and more isolated testshttps://github.com/python/cpython/pull/109196/commits/cb30ae19aef89762a86c5982ac9f33218782809f
cb30ae1https://github.com/python/cpython/pull/109196/commits/cb30ae19aef89762a86c5982ac9f33218782809f
https://github.com/JelleZijlstra
Similar test with aliases, which already passeshttps://github.com/python/cpython/pull/109196/commits/725ca369637e11f1036b037bdd7419e3ab6b1100
725ca36https://github.com/python/cpython/pull/109196/commits/725ca369637e11f1036b037bdd7419e3ab6b1100
https://github.com/JelleZijlstra
pythongh-109118https://github.com/python/cpython/issues/109118
: Disallow nested scopes within PEP 695 scopes within …https://github.com/python/cpython/pull/109196/commits/d7be560b39cd92a2edd9af6a9ec2c3ec796f2231
d7be560https://github.com/python/cpython/pull/109196/commits/d7be560b39cd92a2edd9af6a9ec2c3ec796f2231
python#109118https://github.com/python/cpython/issues/109118
python#109194https://github.com/python/cpython/issues/109194
https://github.com/JelleZijlstra
JelleZijlstrahttps://github.com/JelleZijlstra
needs backport to 3.12 https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22needs%20backport%20to%203.12%22
Sep 9, 2023https://github.com/python/cpython/pull/109196#event-10324848886
https://github.com/JelleZijlstra
JelleZijlstrahttps://github.com/JelleZijlstra
carljmhttps://github.com/carljm
September 9, 2023 19:51https://github.com/python/cpython/pull/109196#event-10324848889
https://github.com/bedevere-bot
bedevere-bothttps://github.com/bedevere-bot
awaiting core review https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22awaiting%20core%20review%22
Sep 9, 2023https://github.com/python/cpython/pull/109196#event-10324848934
https://github.com/bedevere-bot
bedevere-bothttps://github.com/bedevere-bot
Sep 9, 2023 https://github.com/python/cpython/pull/109196#ref-issue-1886639998
Annotation scopes containing nested scopes #109118 https://github.com/python/cpython/issues/109118
https://github.com/carljm
carljmhttps://github.com/carljm
Sep 11, 2023 https://github.com/python/cpython/pull/109196#pullrequestreview-1620368313
View reviewed changes https://github.com/python/cpython/pull/109196/files/d7be560b39cd92a2edd9af6a9ec2c3ec796f2231
Lib/test/test_type_params.pyhttps://github.com/python/cpython/pull/109196/files/d7be560b39cd92a2edd9af6a9ec2c3ec796f2231#diff-a3155be59171fb8ab2dbda75f1be6110623d1f120e7a01ff23f2344ee7635bfa
Please reload this pagehttps://github.com/python/cpython/pull/109196
https://github.com/JelleZijlstra
https://github.com/carljm
Update Lib/test/test_type_params.pyhttps://github.com/python/cpython/pull/109196/commits/ea69d360993bf9b6cd7250cdd7aa67a93cfc2f16
ea69d36https://github.com/python/cpython/pull/109196/commits/ea69d360993bf9b6cd7250cdd7aa67a93cfc2f16
https://github.com/JelleZijlstra
JelleZijlstrahttps://github.com/JelleZijlstra
b88d9e7https://github.com/python/cpython/commit/b88d9e75f68f102aca45fa62e2b0e2e2ff46d810
Sep 12, 2023https://github.com/python/cpython/pull/109196#event-10340209663
https://github.com/miss-islington
miss-islingtonhttps://github.com/miss-islington
Sep 12, 2023https://github.com/python/cpython/pull/109196#issuecomment-1714777963
@JelleZijlstrahttps://github.com/JelleZijlstra
Please reload this pagehttps://github.com/python/cpython/pull/109196
https://github.com/JelleZijlstra
JelleZijlstrahttps://github.com/JelleZijlstra
September 12, 2023 00:11https://github.com/python/cpython/pull/109196#event-10340209920
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
Sep 12, 2023https://github.com/python/cpython/pull/109196#event-10340209932
miss-islingtonhttps://github.com/miss-islington
Sep 12, 2023 https://github.com/python/cpython/pull/109196#ref-commit-0dc03f4
https://github.com/JelleZijlstra
https://github.com/carljm
https://github.com/miss-islington
pythongh-109118https://github.com/python/cpython/issues/109118
: Disallow nested scopes within PEP 695 scopes within …https://github.com/miss-islington/cpython/commit/0dc03f42b85a89e1d5b97001b0d875fb4c39e817
0dc03f4https://github.com/miss-islington/cpython/commit/0dc03f42b85a89e1d5b97001b0d875fb4c39e817
pythonGH-109196https://github.com/python/cpython/pull/109196
pythonGH-109118https://github.com/python/cpython/issues/109118
pythonGH-109194https://github.com/python/cpython/issues/109194
b88d9e7https://github.com/miss-islington/cpython/commit/b88d9e75f68f102aca45fa62e2b0e2e2ff46d810
https://github.com/apps/bedevere-app
bedevere-apphttps://github.com/apps/bedevere-app
Sep 12, 2023https://github.com/python/cpython/pull/109196#issuecomment-1714778039
GH-109297https://github.com/python/cpython/pull/109297
3.12 branchhttps://github.com/python/cpython/tree/3.12
Please reload this pagehttps://github.com/python/cpython/pull/109196
https://github.com/apps/bedevere-app
bedevere-apphttps://github.com/apps/bedevere-app
needs backport to 3.12 https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22needs%20backport%20to%203.12%22
Sep 12, 2023https://github.com/python/cpython/pull/109196#event-10340210821
Yhg1shttps://github.com/Yhg1s
Sep 12, 2023 https://github.com/python/cpython/pull/109196#ref-commit-8208657
https://github.com/miss-islington
https://github.com/JelleZijlstra
https://github.com/carljm
[3.12]https://github.com/python/cpython/commit/8208657f3d6398817f7dd6e5160ea037840e562f
gh-109118https://github.com/python/cpython/issues/109118
: Disallow nested scopes within PEP 695 scopes within…https://github.com/python/cpython/commit/8208657f3d6398817f7dd6e5160ea037840e562f
8208657https://github.com/python/cpython/commit/8208657f3d6398817f7dd6e5160ea037840e562f
GH-109196https://github.com/python/cpython/pull/109196
#109297https://github.com/python/cpython/pull/109297
gh-109118https://github.com/python/cpython/issues/109118
GH-109196https://github.com/python/cpython/pull/109196
GH-109118https://github.com/python/cpython/issues/109118
GH-109194https://github.com/python/cpython/issues/109194
b88d9e7https://github.com/python/cpython/commit/b88d9e75f68f102aca45fa62e2b0e2e2ff46d810
vstinnerhttps://github.com/vstinner
Sep 13, 2023 https://github.com/python/cpython/pull/109196#ref-commit-cc1f90e
https://github.com/JelleZijlstra
https://github.com/carljm
https://github.com/vstinner
pythongh-109118https://github.com/python/cpython/issues/109118
: Disallow nested scopes within PEP 695 scopes within …https://github.com/vstinner/cpython/commit/cc1f90e2597c6890b4853e387c183ab32d905299
cc1f90ehttps://github.com/vstinner/cpython/commit/cc1f90e2597c6890b4853e387c183ab32d905299
python#109196https://github.com/python/cpython/pull/109196
python#109118https://github.com/python/cpython/issues/109118
python#109194https://github.com/python/cpython/issues/109194
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%2F109196
https://github.com/carljm
carljm https://github.com/carljm
https://github.com/python/cpython/pull/109196/files/d7be560b39cd92a2edd9af6a9ec2c3ec796f2231
Bug with comprehension inlining + type aliases https://github.com/python/cpython/issues/109194
Annotation scopes containing nested scopes https://github.com/python/cpython/issues/109118
Please reload this pagehttps://github.com/python/cpython/pull/109196
https://github.com/JelleZijlstra
https://github.com/miss-islington
https://github.com/carljm
https://github.com/bedevere-bot
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.