René's URL Explorer Experiment


Title: bpo-41667: Fix 'gather' rules in the python parser generator by pablogsal · Pull Request #22021 · python/cpython · GitHub

Open Graph Title: bpo-41667: Fix 'gather' rules in the python parser generator by pablogsal · Pull Request #22021 · python/cpython

X Title: bpo-41667: Fix 'gather' rules in the python parser generator by pablogsal · Pull Request #22021 · python/cpython

Description: Currently, empty sequences in gather rules make the conditional for gather rules fail as empty sequences evaluate as "False". We need to explicitly check for "None" (the failure condition) to avoid...

Open Graph Description: Currently, empty sequences in gather rules make the conditional for gather rules fail as empty sequences evaluate as "False". We need to explicitly check for "None" (the failure...

X Description: Currently, empty sequences in gather rules make the conditional for gather rules fail as empty sequences evaluate as "False". We need to explicitly check for "None&qu...

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

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:6cbb4b73-078f-64a5-cd26-b74990442eeb
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idE57E:27FA04:3F2FDA:58DF6A:696A2095
html-safe-nonce1d2a73d6a7a80650a09a0d94c62c425c553940e5d8609914242f3976a03277cb
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFNTdFOjI3RkEwNDozRjJGREE6NThERjZBOjY5NkEyMDk1IiwidmlzaXRvcl9pZCI6IjM1OTE3NTczMjc1MDYyMTkxNTciLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmac432cfb581f05719c834f8bcb726cf06bb944778318bb059bb9867f89ab2838d7
hovercard-subject-tagpull_request:475957006
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/22021/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/e1990313734b57c20d708dec773e681a170ccfbe54cb8ed030e8833225876395/python/cpython/pull/22021
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/e1990313734b57c20d708dec773e681a170ccfbe54cb8ed030e8833225876395/python/cpython/pull/22021
og:image:altCurrently, empty sequences in gather rules make the conditional for gather rules fail as empty sequences evaluate as "False". We need to explicitly check for "None" (the failure...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamepablogsal
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/22021#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F22021
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%2F22021
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/22021
Reloadhttps://github.com/python/cpython/pull/22021
Reloadhttps://github.com/python/cpython/pull/22021
python https://github.com/python
cpythonhttps://github.com/python/cpython
Please reload this pagehttps://github.com/python/cpython/pull/22021
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/22021
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/22021#issue-comment-box
pablogsalhttps://github.com/pablogsal
python:masterhttps://github.com/python/cpython/tree/master
pablogsal:gatherhttps://github.com/pablogsal/cpython/tree/gather
bpo-41667: Fix 'gather' rules in the python parser generator https://github.com/python/cpython/pull/22021#top
pablogsalhttps://github.com/pablogsal
python:masterhttps://github.com/python/cpython/tree/master
pablogsal:gatherhttps://github.com/pablogsal/cpython/tree/gather
Conversation 6 https://github.com/python/cpython/pull/22021
Commits 1 https://github.com/python/cpython/pull/22021/commits
Checks 0 https://github.com/python/cpython/pull/22021/checks
Files changed https://github.com/python/cpython/pull/22021/files
Please reload this pagehttps://github.com/python/cpython/pull/22021
https://github.co/hiddenchars
https://github.com/python/cpython/pull/{{ revealButtonHref }}
https://github.com/pablogsal
pablogsalhttps://github.com/pablogsal
Aug 30, 2020https://github.com/python/cpython/pull/22021#issue-688782460
Please reload this pagehttps://github.com/python/cpython/pull/22021
https://bugs.python.org/issue41667https://bugs.python.org/issue41667
Please reload this pagehttps://github.com/python/cpython/pull/22021
https://github.com/pablogsal
Fix 'gather' rules in the python parser generatorhttps://github.com/python/cpython/pull/22021/commits/f5f7b54e5ead8aba2fe9a1a494856d494b14a84a
f5f7b54https://github.com/python/cpython/pull/22021/commits/f5f7b54e5ead8aba2fe9a1a494856d494b14a84a
https://github.com/pablogsal
pablogsalhttps://github.com/pablogsal
lysnikolaouhttps://github.com/lysnikolaou
code ownerhttps://github.com/python/cpython/blob/475a5fbb5644ea200c990d85d8c264e78ab6c7ea/.github/CODEOWNERS#L77
August 30, 2020 20:07https://github.com/python/cpython/pull/22021#event-3707585591
https://github.com/the-knights-who-say-ni
the-knights-who-say-nihttps://github.com/the-knights-who-say-ni
CLA signed https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22CLA%20signed%22
Aug 30, 2020https://github.com/python/cpython/pull/22021#event-3707585610
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
Aug 30, 2020https://github.com/python/cpython/pull/22021#event-3707585621
https://github.com/pablogsal
pablogsalhttps://github.com/pablogsal
skip news https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22skip%20news%22
skip issue https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22skip%20issue%22
awaiting core review https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22awaiting%20core%20review%22
Aug 30, 2020https://github.com/python/cpython/pull/22021#event-3707585640
https://github.com/pablogsal
pablogsalhttps://github.com/pablogsal
Aug 30, 2020https://github.com/python/cpython/pull/22021#event-3707586702
https://github.com/pablogsal
pablogsalhttps://github.com/pablogsal
skip issue https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22skip%20issue%22
Aug 30, 2020https://github.com/python/cpython/pull/22021#event-3707586767
https://github.com/pablogsal
pablogsalhttps://github.com/pablogsal
Aug 30, 2020https://github.com/python/cpython/pull/22021#issuecomment-683464720
@gvanrossumhttps://github.com/gvanrossum
we-like-parsers/pegen@4ecf01ehttps://github.com/we-like-parsers/pegen/commit/4ecf01e1196827ce24638de2e7cc5848d92532f4
Please reload this pagehttps://github.com/python/cpython/pull/22021
https://github.com/pablogsal
pablogsalhttps://github.com/pablogsal
gvanrossumhttps://github.com/gvanrossum
August 30, 2020 20:09https://github.com/python/cpython/pull/22021#event-3707587487
https://github.com/pablogsal
pablogsalhttps://github.com/pablogsal
needs backport to 3.9 https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22needs%20backport%20to%203.9%22
Aug 30, 2020https://github.com/python/cpython/pull/22021#event-3707587630
https://github.com/gvanrossum
gvanrossumhttps://github.com/gvanrossum
Aug 30, 2020 https://github.com/python/cpython/pull/22021#pullrequestreview-478234399
View reviewed changes https://github.com/python/cpython/pull/22021/files/f5f7b54e5ead8aba2fe9a1a494856d494b14a84a
gvanrossumhttps://github.com/gvanrossum
https://github.com/python/cpython/pull/22021#pullrequestreview-478234399
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/python/cpython/pull/22021
https://github.com/bedevere-bot
bedevere-bothttps://github.com/bedevere-bot
awaiting merge https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22awaiting%20merge%22
Aug 30, 2020https://github.com/python/cpython/pull/22021#event-3707626523
https://github.com/lysnikolaou
lysnikolaouhttps://github.com/lysnikolaou
Aug 30, 2020 https://github.com/python/cpython/pull/22021#pullrequestreview-478234441
View reviewed changes https://github.com/python/cpython/pull/22021/files/f5f7b54e5ead8aba2fe9a1a494856d494b14a84a
lysnikolaouhttps://github.com/lysnikolaou
https://github.com/python/cpython/pull/22021#pullrequestreview-478234441
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/python/cpython/pull/22021
https://github.com/pablogsal
pablogsalhttps://github.com/pablogsal
e55a0e9https://github.com/python/cpython/commit/e55a0e971b4bf9e6473bf0ca6bebdff76c075ef6
Sep 3, 2020https://github.com/python/cpython/pull/22021#event-3725038197
https://github.com/miss-islington
miss-islingtonhttps://github.com/miss-islington
Sep 3, 2020https://github.com/python/cpython/pull/22021#issuecomment-686531878
@pablogsalhttps://github.com/pablogsal
Please reload this pagehttps://github.com/python/cpython/pull/22021
https://github.com/bedevere-bot
bedevere-bothttps://github.com/bedevere-bot
awaiting merge https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22awaiting%20merge%22
Sep 3, 2020https://github.com/python/cpython/pull/22021#event-3725038364
https://github.com/miss-islington
miss-islingtonhttps://github.com/miss-islington
Sep 3, 2020https://github.com/python/cpython/pull/22021#issuecomment-686531928
@pablogsalhttps://github.com/pablogsal
cherry_pickerhttps://pypi.org/project/cherry-picker/
Please reload this pagehttps://github.com/python/cpython/pull/22021
https://github.com/miss-islington
miss-islingtonhttps://github.com/miss-islington
pablogsalhttps://github.com/pablogsal
Sep 3, 2020https://github.com/python/cpython/pull/22021#event-3725038695
https://github.com/pablogsal
pablogsalhttps://github.com/pablogsal
September 3, 2020 14:30https://github.com/python/cpython/pull/22021#event-3725038766
pablogsalhttps://github.com/pablogsal
Sep 3, 2020 https://github.com/python/cpython/pull/22021#ref-commit-a0eb9e0
https://github.com/pablogsal
[3.9] Fix 'gather' rules in the python parser generator (https://github.com/pablogsal/cpython/commit/a0eb9e0d4677b65191dfaf4eb99c2923d4882d65
pythonGH-22021https://github.com/python/cpython/pull/22021
)https://github.com/pablogsal/cpython/commit/a0eb9e0d4677b65191dfaf4eb99c2923d4882d65
a0eb9e0https://github.com/pablogsal/cpython/commit/a0eb9e0d4677b65191dfaf4eb99c2923d4882d65
https://github.com/bedevere-bot
bedevere-bothttps://github.com/bedevere-bot
needs backport to 3.9 https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22needs%20backport%20to%203.9%22
Sep 3, 2020https://github.com/python/cpython/pull/22021#event-3725124311
https://github.com/bedevere-bot
bedevere-bothttps://github.com/bedevere-bot
Sep 3, 2020https://github.com/python/cpython/pull/22021#issuecomment-686543709
GH-22080https://github.com/python/cpython/pull/22080
3.9 branchhttps://github.com/python/cpython/tree/3.9
Please reload this pagehttps://github.com/python/cpython/pull/22021
pablogsalhttps://github.com/pablogsal
Sep 3, 2020 https://github.com/python/cpython/pull/22021#ref-commit-270e249
https://github.com/pablogsal
[3.9] Fix 'gather' rules in the python parser generator (https://github.com/python/cpython/commit/270e2492900275fe2ec93c7982fa175ed132e6b9
GH-22021https://github.com/python/cpython/pull/22021
) (https://github.com/python/cpython/commit/270e2492900275fe2ec93c7982fa175ed132e6b9
G…https://github.com/python/cpython/pull/22080
270e249https://github.com/python/cpython/commit/270e2492900275fe2ec93c7982fa175ed132e6b9
…H-22080https://github.com/python/cpython/pull/22080
shihai1991https://github.com/shihai1991
Sep 5, 2020 https://github.com/python/cpython/pull/22021#ref-commit-7537c86
https://github.com/shihai1991
Merge remote-tracking branch 'origin/master' into bpo_41073_add_types…https://github.com/shihai1991/cpython/commit/7537c86f9f56afa22a854102403c42cf60d3ac64
7537c86https://github.com/shihai1991/cpython/commit/7537c86f9f56afa22a854102403c42cf60d3ac64
pythonGH-22098https://github.com/python/cpython/pull/22098
pythonGH-22095https://github.com/python/cpython/pull/22095
pythonGH-22096https://github.com/python/cpython/pull/22096
pythonGH-22025https://github.com/python/cpython/pull/22025
pythonGH-21999https://github.com/python/cpython/pull/21999
pythonGH-22087https://github.com/python/cpython/pull/22087
pythonGH-22081https://github.com/python/cpython/pull/22081
pythonGH-22075https://github.com/python/cpython/pull/22075
pythonGH-22021https://github.com/python/cpython/pull/22021
pythonGH-22077https://github.com/python/cpython/pull/22077
python#22030https://github.com/python/cpython/pull/22030
pythonGH-22049https://github.com/python/cpython/pull/22049
pythonGH-17635https://github.com/python/cpython/pull/17635
python#22066https://github.com/python/cpython/pull/22066
python#22069https://github.com/python/cpython/pull/22069
pythonGH-22053https://github.com/python/cpython/pull/22053
pythonGH-22058https://github.com/python/cpython/pull/22058
pythonGH-22047https://github.com/python/cpython/pull/22047
pythonGH-22028https://github.com/python/cpython/pull/22028
pythonGH-22062https://github.com/python/cpython/pull/22062
xzy3https://github.com/xzy3
Oct 18, 2020 https://github.com/python/cpython/pull/22021#ref-commit-8aded84
https://github.com/pablogsal
Fix 'gather' rules in the python parser generator (https://github.com/xzy3/cpython/commit/8aded84080a40b7ed2d7ce17dc74526a532cf0b6
pythonGH-22021https://github.com/python/cpython/pull/22021
)https://github.com/xzy3/cpython/commit/8aded84080a40b7ed2d7ce17dc74526a532cf0b6
8aded84https://github.com/xzy3/cpython/commit/8aded84080a40b7ed2d7ce17dc74526a532cf0b6
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%2F22021
https://github.com/gvanrossum
gvanrossum https://github.com/gvanrossum
https://github.com/python/cpython/pull/22021/files/f5f7b54e5ead8aba2fe9a1a494856d494b14a84a
https://github.com/lysnikolaou
lysnikolaou https://github.com/lysnikolaou
https://github.com/python/cpython/pull/22021/files/f5f7b54e5ead8aba2fe9a1a494856d494b14a84a
https://github.com/pablogsal
pablogsal https://github.com/pablogsal
skip news https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22skip%20news%22
Please reload this pagehttps://github.com/python/cpython/pull/22021
https://github.com/pablogsal
https://github.com/miss-islington
https://github.com/bedevere-bot
https://github.com/gvanrossum
https://github.com/lysnikolaou
https://github.com/the-knights-who-say-ni
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.