René's URL Explorer Experiment


Title: [3.11] gh-96587: Raise `SyntaxError` for PEP654 on older `feature_version` (GH-96588) by sobolevn · Pull Request #96591 · python/cpython · GitHub

Open Graph Title: [3.11] gh-96587: Raise `SyntaxError` for PEP654 on older `feature_version` (GH-96588) by sobolevn · Pull Request #96591 · python/cpython

X Title: [3.11] gh-96587: Raise `SyntaxError` for PEP654 on older `feature_version` (GH-96588) by sobolevn · Pull Request #96591 · python/cpython

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

Open Graph Description: (cherry picked from commit 2c7d2e8) Co-authored-by: Nikita Sobolev mail@sobolevn.me Issue: Inconsistent ast.parse result for python<3.11 and PEP654 #96587

X Description: (cherry picked from commit 2c7d2e8) Co-authored-by: Nikita Sobolev mail@sobolevn.me Issue: Inconsistent ast.parse result for python<3.11 and PEP654 #96587

Mail addresses
mail@sobolevn.me

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

X: @github

direct link

Domain: github.com

react-profiling0
react-import-mapreact,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322
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:884815c4-14e6-df25-8897-030e79a9dd70
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idC308:395E6B:3667D:4C7B2:6B004D98
html-safe-noncee59e001e7f7ffb1c70aedef0fd0e5ef163b78c7b23e9cd1ece0acd9301331cb4
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDMzA4OjM5NUU2QjozNjY3RDo0QzdCMjo2QjAwNEQ5OCIsInZpc2l0b3JfaWQiOiIzOTg1NzIyMTM2MjkwNDEzOTc2IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0=
visitor-hmacb8657dc127bad0a8fc2500acaa185d606e8aa65ae517aaf791b803a86ed575ab
hovercard-subject-tagpull_request:1046709994
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/96591/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/5d2e401d411693dd58a67034c9ec961fa09f988ce2d5ec1ecec31a47b2a4f76a/python/cpython/pull/96591
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/5d2e401d411693dd58a67034c9ec961fa09f988ce2d5ec1ecec31a47b2a4f76a/python/cpython/pull/96591
og:image:alt(cherry picked from commit 2c7d2e8) Co-authored-by: Nikita Sobolev mail@sobolevn.me Issue: Inconsistent ast.parse result for python<3.11 and PEP654 #96587
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamesobolevn
hostnamegithub.com
expected-hostnamegithub.com
Nonef9517bf360d46638a1e5e7daee7158842fe5ef43c9000afa0e127564a7c2f39b
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
releaseb27c5dde30676028abd5c5fc53ce5c9b625f8281
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-namepull-requests

Links:

Skip to contenthttps://github.com/python/cpython/pull/96591#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F96591
GitHubRepository hosting, code review, and collaborationhttps://github.com/platform
CopilotAI coding agent for tasks, projects, and automated workhttps://github.com/features/copilot
ActionsCI/CD and automationhttps://github.com/features/actions
Code QualityQuality analysis, fixes, and enforcementhttps://github.com/features/code-quality
CodespacesCloud development environmentshttps://github.com/features/codespaces
Code SecurityVulnerability detection and remediationhttps://github.com/security/advanced-security/code-security
Secret ProtectionSecret scanning and leak preventionhttps://github.com/security/advanced-security/secret-protection
All Featureshttps://github.com/features
Documentationhttps://docs.github.com/en
Traininghttps://learn.github.com/skills
Certificationshttps://learn.github.com/credentials
Build with Copilothttps://github.com/features/ai
Customize Copilothttps://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview
Integrationshttps://github.com/marketplace
Trending reposhttps://github.com/trending
GitHub Sponsorshttps://github.com/open-source/sponsors
Developer articleshttps://github.com/resources/articles
ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place.https://github.blog/changelog/
Enterpriseshttps://github.com/enterprise
Teamhttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
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
See all industrieshttps://github.com/solutions/industry
Why GitHubhttps://github.com/why-github
Customer Storieshttps://github.com/customer-stories
Business insightshttps://github.com/solutions/executive-insights
Trust Centerhttps://github.com/trust-center
GitHub Advanced SecurityEnterprise-grade code securityhttps://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/enterprise/premium-support
Documentationhttps://docs.github.com/en
Resource centerhttps://github.com/resources
Bloghttps://github.blog/
Events & webinarshttps://github.com/resources/events
Community Forumhttps://github.com/orgs/community/discussions
Customer Storieshttps://github.com/customer-stories
Integrationshttps://github.com/marketplace
Customer supporthttps://help.github.com/
Traininghttps://learn.github.com/skills
GitHub Statushttps://www.githubstatus.com/
Abouthttps://github.com/about
Partnershttps://github.com/partners
Changeloghttps://github.blog/changelog/
GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub.https://githubuniverse.com/
Pricinghttps://github.com/pricing
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F96591
Sign uphttps://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/96591
Reloadhttps://github.com/python/cpython/pull/96591
Reloadhttps://github.com/python/cpython/pull/96591
pythonhttps://github.com/python
cpythonhttps://github.com/python/cpython
Codehttps://github.com/python/cpython
Issues5k+ (5k+)https://github.com/python/cpython/issues
Pull requests2.4k (2.4k)https://github.com/python/cpython/pulls
Actionshttps://github.com/python/cpython/actions
Projectshttps://github.com/python/cpython/projects
Security and qualityhttps://github.com/python/cpython/security
Insightshttps://github.com/python/cpython/insights
https://github.com/python/cpython
ambvhttps://github.com/ambv
python:3.11https://github.com/python/cpython/tree/3.11
sobolevn:backport-2c7d2e8-3.11https://github.com/sobolevn/cpython/tree/backport-2c7d2e8-3.11
Conversationhttps://github.com/python/cpython/pull/96591
Commits1 (1)https://github.com/python/cpython/pull/96591/commits
Checkshttps://github.com/python/cpython/pull/96591/checks
Files changedhttps://github.com/python/cpython/pull/96591/files
[3.11] gh-96587: Raise SyntaxError for PEP654 on older feature_version (GH-96588)https://github.com/python/cpython/pull/96591#top
ambvhttps://github.com/ambv
python:3.11https://github.com/python/cpython/tree/3.11
sobolevn:backport-2c7d2e8-3.11https://github.com/sobolevn/cpython/tree/backport-2c7d2e8-3.11
https://github.com/sobolevn
sobolevnhttps://github.com/sobolevn
Sep 5, 2022https://github.com/python/cpython/pull/96591#issue-1362304362
Please reload this pagehttps://github.com/python/cpython/pull/96591
2c7d2e8https://github.com/python/cpython/commit/2c7d2e8d46164efb6e27a64081d8e949f6876515
Inconsistent ast.parse result for python<3.11 and PEP654 #96587https://github.com/python/cpython/issues/96587
Please reload this pagehttps://github.com/python/cpython/pull/96591
https://github.com/sobolevn
[3.11]https://github.com/python/cpython/pull/96591/commits/13c25dffc3988b59b75613903336a1306099838d
pythongh-96587https://github.com/python/cpython/issues/96587
: Raisehttps://github.com/python/cpython/pull/96591/commits/13c25dffc3988b59b75613903336a1306099838d
SyntaxErrorhttps://github.com/python/cpython/pull/96591/commits/13c25dffc3988b59b75613903336a1306099838d
for PEP654 on older `featu…https://github.com/python/cpython/pull/96591/commits/13c25dffc3988b59b75613903336a1306099838d
13c25dfhttps://github.com/python/cpython/pull/96591/commits/13c25dffc3988b59b75613903336a1306099838d
pythonGH-96588https://github.com/python/cpython/pull/96588
2c7d2e8https://github.com/sobolevn/cpython/commit/2c7d2e8d46164efb6e27a64081d8e949f6876515
https://github.com/sobolevn
sobolevnhttps://github.com/sobolevn
lysnikolaouhttps://github.com/lysnikolaou
pablogsalhttps://github.com/pablogsal
code ownershttps://github.com/python/cpython/blob/d09069abfeba03da333b3ab90298dcc1ecdf5691/.github/CODEOWNERS#L85
September 5, 2022 17:08https://github.com/python/cpython/pull/96591#event-7324815738
https://github.com/bedevere-bot
bedevere-bothttps://github.com/bedevere-bot
awaiting review https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22awaiting%20review%22
Sep 5, 2022https://github.com/python/cpython/pull/96591#event-7324815887
https://github.com/bedevere-bot
bedevere-bothttps://github.com/bedevere-bot
Sep 5, 2022 https://github.com/python/cpython/pull/96591#ref-pullrequest-1362253477
gh-96587: Raise SyntaxError for PEP654 on older feature_version #96588 https://github.com/python/cpython/pull/96588
https://github.com/pablogsal
pablogsalhttps://github.com/pablogsal
Sep 5, 2022 https://github.com/python/cpython/pull/96591#pullrequestreview-1096679723
View reviewed changes https://github.com/python/cpython/pull/96591/files/13c25dffc3988b59b75613903336a1306099838d
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
awaiting review https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22awaiting%20review%22
Sep 5, 2022https://github.com/python/cpython/pull/96591#event-7324824515
https://github.com/ambv
ambvhttps://github.com/ambv
8c6ced3https://github.com/python/cpython/commit/8c6ced36abb9ccc5dc6c8def1b376484685255c5
Oct 5, 2022https://github.com/python/cpython/pull/96591#event-7528804876
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
Oct 5, 2022https://github.com/python/cpython/pull/96591#event-7528805061
pablogsalhttps://github.com/pablogsal
Oct 22, 2022 https://github.com/python/cpython/pull/96591#ref-commit-9cb7324
https://github.com/sobolevn
https://github.com/pablogsal
[3.11]https://github.com/python/cpython/commit/9cb7324e8fc37350879fc6004ebbbb1cf5f9dd02
gh-96587https://github.com/python/cpython/issues/96587
: Raisehttps://github.com/python/cpython/commit/9cb7324e8fc37350879fc6004ebbbb1cf5f9dd02
SyntaxErrorhttps://github.com/python/cpython/commit/9cb7324e8fc37350879fc6004ebbbb1cf5f9dd02
for PEP654 on older `feature_ver…https://github.com/python/cpython/commit/9cb7324e8fc37350879fc6004ebbbb1cf5f9dd02
9cb7324https://github.com/python/cpython/commit/9cb7324e8fc37350879fc6004ebbbb1cf5f9dd02
GH-96588https://github.com/python/cpython/pull/96588
#96591https://github.com/python/cpython/pull/96591
2c7d2e8https://github.com/python/cpython/commit/2c7d2e8d46164efb6e27a64081d8e949f6876515
https://github.co/hiddenchars
https://github.com/python/cpython/pull/{{ revealButtonHref }}
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%2F96591
https://github.com/pablogsal
pablogsal https://github.com/pablogsal
https://github.com/python/cpython/pull/96591/files/13c25dffc3988b59b75613903336a1306099838d
https://github.com/lysnikolaou
lysnikolaou https://github.com/lysnikolaou
Please reload this pagehttps://github.com/python/cpython/pull/96591
Please reload this pagehttps://github.com/python/cpython/pull/96591
https://github.com/sobolevn
https://github.com/pablogsal
https://github.com/ambv
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.