René's URL Explorer Experiment


Title: ast.parse allows assignment expressions with old feature_version · Issue #94947 · python/cpython · GitHub

Open Graph Title: ast.parse allows assignment expressions with old feature_version · Issue #94947 · python/cpython

X Title: ast.parse allows assignment expressions with old feature_version · Issue #94947 · python/cpython

Description: The following should raise SyntaxError: ast.parse('''(b := 2)''', feature_version=(3, 6))

Open Graph Description: The following should raise SyntaxError: ast.parse('''(b := 2)''', feature_version=(3, 6))

X Description: The following should raise SyntaxError: ast.parse('''(b := 2)''', feature_version=(3, 6))

Opengraph URL: https://github.com/python/cpython/issues/94947

X: @github

direct link

Domain: github.com


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"ast.parse allows assignment expressions with old feature_version","articleBody":"The following should raise SyntaxError:\r\n```\r\nast.parse('''(b := 2)''', feature_version=(3, 6))\r\n```","author":{"url":"https://github.com/hauntsaninja","@type":"Person","name":"hauntsaninja"},"datePublished":"2022-07-18T04:15:32Z","url":"https://github.com/python/cpython/issues/94947"}

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/issues/show/:user_id/:repository/:id/issue_layout(.:format)
route-controllervoltron_issues_fragments
route-actionissue_layout
fetch-noncev2:7ccaa24f-f14c-35ab-5375-f9390de0ec5a
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-idD32A:177D5B:355D5FB:46CD03D:6B004267
html-safe-nonce54d1f410c471b2d691596dc95a5e81e52490d74e1c31a03a36c56895934f9158
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJEMzJBOjE3N0Q1QjozNTVENUZCOjQ2Q0QwM0Q6NkIwMDQyNjciLCJ2aXNpdG9yX2lkIjoiNjU4NzUzMzMzNDczNjI5MDQwNyIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmac1c4159a10544f96024b91de4c1ee43478823a10161865fc4552ef00327c5df0a
hovercard-subject-tagissue:1307379117
github-keyboard-shortcutsrepository,issues,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/issues_fragments/issue_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/python/cpython/94947/issue_layout
twitter:imagehttps://opengraph.githubassets.com/da2a4045e0422596f4e014045991b1bfbb24ec72581a97a9ea378484a7b54bf5/python/cpython/issues/94947
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/da2a4045e0422596f4e014045991b1bfbb24ec72581a97a9ea378484a7b54bf5/python/cpython/issues/94947
og:image:altThe following should raise SyntaxError: ast.parse('''(b := 2)''', feature_version=(3, 6))
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamehauntsaninja
hostnamegithub.com
expected-hostnamegithub.com
None7d0829bbde9e48b2486cb5dd6d147896eb01d32134627091f818958a935ef3f0
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
releasef3f3a43ca095cdea3abbb394112e971f9fdb94fa
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-nameissues

Links:

Skip to contenthttps://github.com/python/cpython/issues/94947#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fissues%2F94947
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%2Fissues%2F94947
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%2Fissues_fragments%2Fissue_layout&source=header-repo&source_repo=python%2Fcpython
Reloadhttps://github.com/python/cpython/issues/94947
Reloadhttps://github.com/python/cpython/issues/94947
Reloadhttps://github.com/python/cpython/issues/94947
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
New issuehttps://github.com/login?return_to=https://github.com/python/cpython/issues/94947
New issuehttps://github.com/login?return_to=https://github.com/python/cpython/issues/94947
ast.parse allows assignment expressions with old feature_versionhttps://github.com/python/cpython/issues/94947#top
interpreter-core(Objects, Python, Grammar, and Parser dirs)https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22interpreter-core%22
type-bugAn unexpected behavior, bug, or errorhttps://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22type-bug%22
https://github.com/hauntsaninja
hauntsaninjahttps://github.com/hauntsaninja
on Jul 18, 2022https://github.com/python/cpython/issues/94947#issue-1307379117
hauntsaninjahttps://github.com/hauntsaninja
type-bugAn unexpected behavior, bug, or errorhttps://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22type-bug%22
on Jul 18, 2022https://github.com/python/cpython/issues/94947#event-7008759226
hauntsaninjahttps://github.com/hauntsaninja
interpreter-core(Objects, Python, Grammar, and Parser dirs)https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22interpreter-core%22
on Jul 18, 2022https://github.com/python/cpython/issues/94947#event-7008880403
pablogsalhttps://github.com/pablogsal
on Jul 18, 2022https://github.com/python/cpython/issues/94947#event-7010292754
gh-94947: Disallow parsing walrus with feature_version < (3, 8) (#94948)https://github.com/python/cpython/commit/ae0be5a53bb4caee3de4888341addd9c94133f2d
gh-94947https://github.com/python/cpython/issues/94947
#94948https://github.com/python/cpython/pull/94948
ae0be5ahttps://github.com/python/cpython/commit/ae0be5a53bb4caee3de4888341addd9c94133f2d
miss-islingtonhttps://github.com/miss-islington
on Jul 18, 2022https://github.com/python/cpython/issues/94947#event-7010293047
pythongh-94947: Disallow parsing walrus with feature_version < (3, 8) (…https://github.com/miss-islington/cpython/commit/08d56cac6dd275b496ee1a8032e768c11d848b6c
pythongh-94947https://github.com/python/cpython/issues/94947
…https://github.com/python/cpython/pull/94948
08d56cahttps://github.com/miss-islington/cpython/commit/08d56cac6dd275b496ee1a8032e768c11d848b6c
gh-94947: Disallow parsing walrus with feature_version < (3, 8) (GH-9…https://github.com/python/cpython/commit/7dc236d11642a2b366a7f20bc057c1934b3687ef
gh-94947https://github.com/python/cpython/issues/94947
GH-9…https://github.com/python/cpython/pull/94948
7dc236dhttps://github.com/python/cpython/commit/7dc236d11642a2b366a7f20bc057c1934b3687ef
hauntsaninjahttps://github.com/hauntsaninja
on Jul 18, 2022https://github.com/python/cpython/issues/94947#event-7013656526
[3.10] pythongh-94947: Disallow parsing walrus with feature_version <…https://github.com/hauntsaninja/cpython/commit/5be965fd2490116c58d9b8e6f3928bd651649579
pythongh-94947https://github.com/python/cpython/issues/94947
5be965fhttps://github.com/hauntsaninja/cpython/commit/5be965fd2490116c58d9b8e6f3928bd651649579
pablogsalhttps://github.com/pablogsal
on Jul 18, 2022https://github.com/python/cpython/issues/94947#event-7015104328
[3.10] gh-94947: Disallow parsing walrus with feature_version < (3, 8) (https://github.com/python/cpython/commit/dda9198021b3c34a4882c8524f720b2f83a56ea1
gh-94947https://github.com/python/cpython/issues/94947
dda9198https://github.com/python/cpython/commit/dda9198021b3c34a4882c8524f720b2f83a56ea1
https://github.com/AlexWaygood
AlexWaygoodhttps://github.com/AlexWaygood
on Jul 18, 2022https://github.com/python/cpython/issues/94947#issuecomment-1188365592
#94948https://github.com/python/cpython/pull/94948
AlexWaygoodhttps://github.com/AlexWaygood
completedhttps://github.com/python/cpython/issues?q=is%3Aissue%20state%3Aclosed%20archived%3Afalse%20reason%3Acompleted
on Jul 18, 2022https://github.com/python/cpython/issues/94947#event-7015970747
Sign up for freehttps://github.com/signup?return_to=https://github.com/python/cpython/issues/94947
Sign in to commenthttps://github.com/login?return_to=https://github.com/python/cpython/issues/94947
interpreter-core(Objects, Python, Grammar, and Parser dirs)https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22interpreter-core%22
type-bugAn unexpected behavior, bug, or errorhttps://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22type-bug%22
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.