René's URL Explorer Experiment


Title: ast.parse allows positional-only params with old feature_version · Issue #94996 · python/cpython · GitHub

Open Graph Title: ast.parse allows positional-only params with old feature_version · Issue #94996 · python/cpython

X Title: ast.parse allows positional-only params with old feature_version · Issue #94996 · python/cpython

Description: The following should raise SyntaxError: ast.parse('def foo(x, /): ...', feature_version=(3, 7))

Open Graph Description: The following should raise SyntaxError: ast.parse('def foo(x, /): ...', feature_version=(3, 7))

X Description: The following should raise SyntaxError: ast.parse('def foo(x, /): ...', feature_version=(3, 7))

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

X: @github

direct link

Domain: github.com


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"ast.parse allows positional-only params with old feature_version","articleBody":"The following should raise SyntaxError:\r\n```\r\nast.parse('def foo(x, /): ...', feature_version=(3, 7))\r\n```","author":{"url":"https://github.com/hauntsaninja","@type":"Person","name":"hauntsaninja"},"datePublished":"2022-07-19T04:32:13Z","url":"https://github.com/python/cpython/issues/94996"}

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:1feb24c5-c02e-505a-4136-fb24008e9cab
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-idA198:4D1C6:237AD9B:304B7D5:6B0030E9
html-safe-noncea8afbc3a956e0f0fe0306c23de53c0edea413856a9a706b6c296757bac77d589
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBMTk4OjREMUM2OjIzN0FEOUI6MzA0QjdENTo2QjAwMzBFOSIsInZpc2l0b3JfaWQiOiIzMzUzODIwODI1MTQzNzUwODg5IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0=
visitor-hmacd1dfd049cd188f9fa3939cebb007d0147659cc6a43e93a88d6cabbc99a3a78d7
hovercard-subject-tagissue:1308964143
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/94996/issue_layout
twitter:imagehttps://opengraph.githubassets.com/bdfffcca936108e36928c7f825ca828e4849e49e9d2ef82778b86f1d2942d49d/python/cpython/issues/94996
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/bdfffcca936108e36928c7f825ca828e4849e49e9d2ef82778b86f1d2942d49d/python/cpython/issues/94996
og:image:altThe following should raise SyntaxError: ast.parse('def foo(x, /): ...', feature_version=(3, 7))
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/94996#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fissues%2F94996
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%2F94996
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/94996
Reloadhttps://github.com/python/cpython/issues/94996
Reloadhttps://github.com/python/cpython/issues/94996
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/94996
New issuehttps://github.com/login?return_to=https://github.com/python/cpython/issues/94996
ast.parse allows positional-only params with old feature_versionhttps://github.com/python/cpython/issues/94996#top
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 19, 2022https://github.com/python/cpython/issues/94996#issue-1308964143
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 19, 2022https://github.com/python/cpython/issues/94996#event-7017295666
hauntsaninjahttps://github.com/hauntsaninja
on Jul 19, 2022https://github.com/python/cpython/issues/94996#event-7017299876
pythongh-94996: Disallow parsing pos only param with feature_version …https://github.com/hauntsaninja/cpython/commit/0755dda11d0207d6dc63bf44bae51b52f2eda25c
pythongh-94996https://github.com/python/cpython/issues/94996
0755ddahttps://github.com/hauntsaninja/cpython/commit/0755dda11d0207d6dc63bf44bae51b52f2eda25c
lysnikolaouhttps://github.com/lysnikolaou
on Aug 12, 2022https://github.com/python/cpython/issues/94996#event-7180778453
gh-94996: Disallow parsing pos only params with feature_version < (3,…https://github.com/python/cpython/commit/b5e3ea286289fcad12be78480daf3756e350f69f
gh-94996https://github.com/python/cpython/issues/94996
b5e3ea2https://github.com/python/cpython/commit/b5e3ea286289fcad12be78480daf3756e350f69f
miss-islingtonhttps://github.com/miss-islington
on Aug 12, 2022https://github.com/python/cpython/issues/94996#event-7180779091
pythongh-94996: Disallow parsing pos only params with feature_version…https://github.com/miss-islington/cpython/commit/78c1f2f384b3f893d5c3136223972ac05e120596
pythongh-94996https://github.com/python/cpython/issues/94996
78c1f2fhttps://github.com/miss-islington/cpython/commit/78c1f2f384b3f893d5c3136223972ac05e120596
gh-94996: Disallow parsing pos only params with feature_version < (3,…https://github.com/python/cpython/commit/4abf84602f81da6719f761140dc909828350b45c
gh-94996https://github.com/python/cpython/issues/94996
4abf846https://github.com/python/cpython/commit/4abf84602f81da6719f761140dc909828350b45c
https://github.com/lysnikolaou
lysnikolaouhttps://github.com/lysnikolaou
on Aug 12, 2022https://github.com/python/cpython/issues/94996#issuecomment-1213370492
#94997https://github.com/python/cpython/pull/94997
hauntsaninjahttps://github.com/hauntsaninja
on Aug 12, 2022https://github.com/python/cpython/issues/94996#event-7181025140
pythongh-94996: Disallow lambda pos only with feature_version < (3, 8)https://github.com/hauntsaninja/cpython/commit/194ee80f56539718903564725a85b6c0a5fdaffc
pythongh-94996https://github.com/python/cpython/issues/94996
194ee80https://github.com/hauntsaninja/cpython/commit/194ee80f56539718903564725a85b6c0a5fdaffc
https://github.com/hauntsaninja
hauntsaninjahttps://github.com/hauntsaninja
on Aug 12, 2022https://github.com/python/cpython/issues/94996#issuecomment-1213384118
#95934https://github.com/python/cpython/pull/95934
hauntsaninjahttps://github.com/hauntsaninja
on Aug 12, 2022https://github.com/python/cpython/issues/94996#event-7181059328
pythongh-94996: Disallow parsing pos only params with feature_version…https://github.com/hauntsaninja/cpython/commit/daa5fd9edcaca34fc994f73fddd1e49207681290
pythongh-94996https://github.com/python/cpython/issues/94996
daa5fd9https://github.com/hauntsaninja/cpython/commit/daa5fd9edcaca34fc994f73fddd1e49207681290
[3.10] pythongh-94996: Disallow parsing pos only params with feature_…https://github.com/hauntsaninja/cpython/commit/115bf46accca81fda7074242cc440a85c811ed1e
pythongh-94996https://github.com/python/cpython/issues/94996
115bf46https://github.com/hauntsaninja/cpython/commit/115bf46accca81fda7074242cc440a85c811ed1e
lysnikolaouhttps://github.com/lysnikolaou
on Aug 12, 2022https://github.com/python/cpython/issues/94996#event-7181204225
gh-94996: Disallow lambda pos only params with feature_version < (3, …https://github.com/python/cpython/commit/a965db37f27ffb232312bc13d9a509f0d93fcd20
gh-94996https://github.com/python/cpython/issues/94996
a965db3https://github.com/python/cpython/commit/a965db37f27ffb232312bc13d9a509f0d93fcd20
hauntsaninjahttps://github.com/hauntsaninja
on Aug 12, 2022https://github.com/python/cpython/issues/94996#event-7181217097
[3.11] pythongh-94996: Disallow lambda pos only params with feature_v…https://github.com/hauntsaninja/cpython/commit/53e41522a3579a380a709799920f77476593b6b5
pythongh-94996https://github.com/python/cpython/issues/94996
53e4152https://github.com/hauntsaninja/cpython/commit/53e41522a3579a380a709799920f77476593b6b5
[3.10] pythongh-94996: Disallow lambda pos only params with feature_v…https://github.com/hauntsaninja/cpython/commit/c05fc6d4666b8405c464fbb5857bc6efd1f2705a
pythongh-94996https://github.com/python/cpython/issues/94996
c05fc6dhttps://github.com/hauntsaninja/cpython/commit/c05fc6d4666b8405c464fbb5857bc6efd1f2705a
miss-islingtonhttps://github.com/miss-islington
on Aug 12, 2022https://github.com/python/cpython/issues/94996#event-7181353432
[3.10] gh-94996: Disallow parsing pos only params with feature_versio…https://github.com/python/cpython/commit/a92c2d6eb55a64881b978cfc4b531dad3d14984b
gh-94996https://github.com/python/cpython/issues/94996
a92c2d6https://github.com/python/cpython/commit/a92c2d6eb55a64881b978cfc4b531dad3d14984b
[3.11] gh-94996: Disallow lambda pos only params with feature_version…https://github.com/python/cpython/commit/7fc82217944c094bc490a95cf6c07fbf59644a2d
gh-94996https://github.com/python/cpython/issues/94996
7fc8221https://github.com/python/cpython/commit/7fc82217944c094bc490a95cf6c07fbf59644a2d
[3.10] gh-94996: Disallow lambda pos only params with feature_version…https://github.com/python/cpython/commit/9fbc81760e8765f7520929acc5af7874aeccb0c1
gh-94996https://github.com/python/cpython/issues/94996
9fbc817https://github.com/python/cpython/commit/9fbc81760e8765f7520929acc5af7874aeccb0c1
lysnikolaouhttps://github.com/lysnikolaou
completedhttps://github.com/python/cpython/issues?q=is%3Aissue%20state%3Aclosed%20archived%3Afalse%20reason%3Acompleted
on Aug 12, 2022https://github.com/python/cpython/issues/94996#event-7181600426
Sign up for freehttps://github.com/signup?return_to=https://github.com/python/cpython/issues/94996
Sign in to commenthttps://github.com/login?return_to=https://github.com/python/cpython/issues/94996
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.