| react-profiling | 0 |
| react-import-map | react,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322 |
| route-pattern | /:user_id/:repository/pull/:id/files(.:format) |
| route-controller | pull_requests |
| route-action | files |
| fetch-nonce | v2:4115c093-ea0d-f80c-8716-43d9a3e258fe |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | C24A:21E5F:633080:852122:6B003614 |
| html-safe-nonce | 0c407a8f2cb40b74973f0b407e1276b388029c0d83e1936fbef692f11ac68be0 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDMjRBOjIxRTVGOjYzMzA4MDo4NTIxMjI6NkIwMDM2MTQiLCJ2aXNpdG9yX2lkIjoiNTI5MTgzODQ2NzE0NjI2NjEzMiIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 46adb6e74aa80b86f6d4751b5f506400e489bbb9a570a2dc77800a37006fcdc7 |
| hovercard-subject-tag | pull_request:1742279671 |
| github-keyboard-shortcuts | repository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | ///pull_requests/show/files |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/python/cpython/pull/115920/files |
| twitter:image | https://avatars.githubusercontent.com/u/66076021?s=400&v=4 |
| twitter:card | summary_large_image |
| og:image | https://avatars.githubusercontent.com/u/66076021?s=400&v=4 |
| og:image:alt | Issue: gh-115881 |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | 7d0829bbde9e48b2486cb5dd6d147896eb01d32134627091f818958a935ef3f0 |
| turbo-cache-control | no-preview |
| diff-view | unified |
| go-import | github.com/python/cpython git https://github.com/python/cpython.git |
| octolytics-dimension-user_id | 1525981 |
| octolytics-dimension-user_login | python |
| octolytics-dimension-repository_id | 81598961 |
| octolytics-dimension-repository_nwo | python/cpython |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 81598961 |
| octolytics-dimension-repository_network_root_nwo | python/cpython |
| turbo-body-classes | logged-out env-production page-responsive full-width |
| disable-turbo | true |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | f3f3a43ca095cdea3abbb394112e971f9fdb94fa |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| Skip to content | https://github.com/python/cpython/pull/115920/files#start-of-content |
| https://github.com/ |
| Sign in | https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F115920%2Ffiles |
| GitHubRepository hosting, code review, and collaboration | https://github.com/platform |
| CopilotAI coding agent for tasks, projects, and automated work | https://github.com/features/copilot |
| ActionsCI/CD and automation | https://github.com/features/actions |
| Code QualityQuality analysis, fixes, and enforcement | https://github.com/features/code-quality |
| CodespacesCloud development environments | https://github.com/features/codespaces |
| Code SecurityVulnerability detection and remediation | https://github.com/security/advanced-security/code-security |
| Secret ProtectionSecret scanning and leak prevention | https://github.com/security/advanced-security/secret-protection |
| All Features | https://github.com/features |
| Documentation | https://docs.github.com/en |
| Training | https://learn.github.com/skills |
| Certifications | https://learn.github.com/credentials |
| Build with Copilot | https://github.com/features/ai |
| Customize Copilot | https://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview |
| Integrations | https://github.com/marketplace |
| Trending repos | https://github.com/trending |
| GitHub Sponsors | https://github.com/open-source/sponsors |
| Developer articles | https://github.com/resources/articles |
| ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place. | https://github.blog/changelog/ |
| Enterprises | https://github.com/enterprise |
| Team | https://github.com/team |
| Startups | https://github.com/enterprise/startups |
| Nonprofits | https://github.com/solutions/industry/nonprofits |
| Healthcare | https://github.com/solutions/industry/healthcare |
| Financial services | https://github.com/solutions/industry/financial-services |
| Manufacturing | https://github.com/solutions/industry/manufacturing |
| Government | https://github.com/solutions/industry/government |
| See all industries | https://github.com/solutions/industry |
| Why GitHub | https://github.com/why-github |
| Customer Stories | https://github.com/customer-stories |
| Business insights | https://github.com/solutions/executive-insights |
| Trust Center | https://github.com/trust-center |
| GitHub Advanced SecurityEnterprise-grade code security | https://github.com/security/advanced-security |
| Copilot for businessEnterprise-grade AI features | https://github.com/features/copilot/copilot-business |
| Premium SupportEnterprise-grade 24/7 support | https://github.com/enterprise/premium-support |
| Documentation | https://docs.github.com/en |
| Resource center | https://github.com/resources |
| Blog | https://github.blog/ |
| Events & webinars | https://github.com/resources/events |
| Community Forum | https://github.com/orgs/community/discussions |
| Customer Stories | https://github.com/customer-stories |
| Integrations | https://github.com/marketplace |
| Customer support | https://help.github.com/ |
| Training | https://learn.github.com/skills |
| GitHub Status | https://www.githubstatus.com/ |
| About | https://github.com/about |
| Partners | https://github.com/partners |
| Changelog | https://github.blog/changelog/ |
| GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub. | https://githubuniverse.com/ |
| Pricing | https://github.com/pricing |
| Sign in | https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F115920%2Ffiles |
| 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%2Fpull_requests%2Fshow%2Ffiles&source=header-repo&source_repo=python%2Fcpython |
| Reload | https://github.com/python/cpython/pull/115920/files |
| Reload | https://github.com/python/cpython/pull/115920/files |
| Reload | https://github.com/python/cpython/pull/115920/files |
| python | https://github.com/python |
| cpython | https://github.com/python/cpython |
| Code | https://github.com/python/cpython |
| Issues5k+ (5k+) | https://github.com/python/cpython/issues |
| Pull requests2.4k (2.4k) | https://github.com/python/cpython/pulls |
| Actions | https://github.com/python/cpython/actions |
| Projects | https://github.com/python/cpython/projects |
| Security and quality | https://github.com/python/cpython/security |
| Insights | https://github.com/python/cpython/insights |
| Sign up for GitHub
| https://github.com/signup?return_to=%2Fpython%2Fcpython%2Fissues%2Fnew%2Fchoose |
| terms of service | https://docs.github.com/terms |
| privacy statement | https://docs.github.com/privacy |
| Sign in | https://github.com/login?return_to=%2Fpython%2Fcpython%2Fissues%2Fnew%2Fchoose |
| AlexWaygood | https://github.com/AlexWaygood |
| python:main | https://github.com/python/cpython/tree/main |
| AlexWaygood:parenthesized-context-managers-feature-version | https://github.com/AlexWaygood/cpython/tree/parenthesized-context-managers-feature-version |
|
Conversation
6
| https://github.com/python/cpython/pull/115920 |
|
Commits
6
| https://github.com/python/cpython/pull/115920/commits |
|
Checks
0
| https://github.com/python/cpython/pull/115920/checks |
|
Files changed
| https://github.com/python/cpython/pull/115920/files |
| Please reload this page | https://github.com/python/cpython/pull/115920/files |
|
gh-115881: Ensure ast.parse() parses conditional context managers even with low feature_version passed
| https://github.com/python/cpython/pull/115920/files#top |
|
Show all changes
6 commits
| https://github.com/python/cpython/pull/115920/files |
|
a8b1c82
Add a failing test
AlexWaygood Feb 25, 2024
| https://github.com/python/cpython/pull/115920/commits/a8b1c82af8da97d857de9d7e3af6e1284366f83f |
|
c82b85a
Revert "gh-94949: Disallow parsing parenthesised ctx mgr with old fea…
AlexWaygood Feb 25, 2024
| https://github.com/python/cpython/pull/115920/commits/c82b85afb708c6a85f0e72377b794d54d46c2016 |
|
09dc88d
📜🤖 Added by blurb_it.
blurb-it[bot] Feb 25, 2024
| https://github.com/python/cpython/pull/115920/commits/09dc88def9c81ad40a54c5c5da3c9c1b4862707e |
|
cec56a8
ugh not markdown
AlexWaygood Feb 25, 2024
| https://github.com/python/cpython/pull/115920/commits/cec56a866f46459b2ce15cb757b6148666b4bdeb |
|
cb49140
fix `test_type_comment`
AlexWaygood Feb 25, 2024
| https://github.com/python/cpython/pull/115920/commits/cb49140a6faa69681ed4f57393545a58050e75fc |
|
c7db163
Merge branch 'parenthesized-context-managers-feature-version' of http…
AlexWaygood Feb 25, 2024
| https://github.com/python/cpython/pull/115920/commits/c7db1638ae0ea2d6bf94381c647427f3f38b333b |
|
Clear filters
| https://github.com/python/cpython/pull/115920/files |
| Please reload this page | https://github.com/python/cpython/pull/115920/files |
| Please reload this page | https://github.com/python/cpython/pull/115920/files |
|
python.gram
| https://github.com/python/cpython/pull/115920/files#diff-2973ca53337859793077e9bdc1a1623063379f0fdfcb788836fd82ebb66b763b |
|
test_ast.py
| https://github.com/python/cpython/pull/115920/files#diff-3f516b60719dd445d33225e4f316b36e85c9c51a843a0147349d11a005c55937 |
|
test_type_comments.py
| https://github.com/python/cpython/pull/115920/files#diff-60bbb47519bfea821ccb9c2d7c7a99c3ea4e4062947845554d57a2a35180a652 |
|
2024-02-25-19-20-05.gh-issue-115881.ro_Kuw.rst
| https://github.com/python/cpython/pull/115920/files#diff-8f492ec026cf81432d3c5243fcd5207c4f345d630ee5bb1d643c375fa5b5d1b3 |
|
parser.c
| https://github.com/python/cpython/pull/115920/files#diff-6d39440cedc67d1ce7a0586bfb6ecb8483803448a9c93f3fae3ad0e2260e29f7 |
|
| https://github.com/python/cpython/blob/main/.github/CODEOWNERS#L308 |
| Grammar/python.gram | https://github.com/python/cpython/pull/115920/files#diff-2973ca53337859793077e9bdc1a1623063379f0fdfcb788836fd82ebb66b763b |
|
View file
| https://github.com/AlexWaygood/cpython/blob/c7db1638ae0ea2d6bf94381c647427f3f38b333b/Grammar/python.gram |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/python/cpython/pull/115920/{{ revealButtonHref }} |
|
| https://github.com/python/cpython/pull/115920/files#diff-2973ca53337859793077e9bdc1a1623063379f0fdfcb788836fd82ebb66b763b |
|
| https://github.com/python/cpython/pull/115920/files#diff-2973ca53337859793077e9bdc1a1623063379f0fdfcb788836fd82ebb66b763b |
| Lib/test/test_ast.py | https://github.com/python/cpython/pull/115920/files#diff-3f516b60719dd445d33225e4f316b36e85c9c51a843a0147349d11a005c55937 |
|
View file
| https://github.com/AlexWaygood/cpython/blob/c7db1638ae0ea2d6bf94381c647427f3f38b333b/Lib/test/test_ast.py |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/python/cpython/pull/115920/{{ revealButtonHref }} |
|
| https://github.com/python/cpython/pull/115920/files#diff-3f516b60719dd445d33225e4f316b36e85c9c51a843a0147349d11a005c55937 |
|
| https://github.com/python/cpython/pull/115920/files#diff-3f516b60719dd445d33225e4f316b36e85c9c51a843a0147349d11a005c55937 |
|
| https://github.com/python/cpython/blob/main/.github/CODEOWNERS#L355 |
| Lib/test/test_type_comments.py | https://github.com/python/cpython/pull/115920/files#diff-60bbb47519bfea821ccb9c2d7c7a99c3ea4e4062947845554d57a2a35180a652 |
|
View file
| https://github.com/AlexWaygood/cpython/blob/c7db1638ae0ea2d6bf94381c647427f3f38b333b/Lib/test/test_type_comments.py |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/python/cpython/pull/115920/{{ revealButtonHref }} |
|
| https://github.com/python/cpython/pull/115920/files#diff-60bbb47519bfea821ccb9c2d7c7a99c3ea4e4062947845554d57a2a35180a652 |
|
| https://github.com/python/cpython/pull/115920/files#diff-60bbb47519bfea821ccb9c2d7c7a99c3ea4e4062947845554d57a2a35180a652 |
| Misc/NEWS.d/next/Library/2024-02-25-19-20-05.gh-issue-115881.ro_Kuw.rst | https://github.com/python/cpython/pull/115920/files#diff-8f492ec026cf81432d3c5243fcd5207c4f345d630ee5bb1d643c375fa5b5d1b3 |
|
View file
| https://github.com/AlexWaygood/cpython/blob/c7db1638ae0ea2d6bf94381c647427f3f38b333b/Misc/NEWS.d/next/Library/2024-02-25-19-20-05.gh-issue-115881.ro_Kuw.rst |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/python/cpython/pull/115920/{{ revealButtonHref }} |
|
| https://github.com/python/cpython/blob/main/.github/CODEOWNERS#L313 |
| Parser/parser.c | https://github.com/python/cpython/pull/115920/files#diff-6d39440cedc67d1ce7a0586bfb6ecb8483803448a9c93f3fae3ad0e2260e29f7 |
|
View file
| https://github.com/AlexWaygood/cpython/blob/c7db1638ae0ea2d6bf94381c647427f3f38b333b/Parser/parser.c |
|
Open in desktop
| https://desktop.github.com |
| how customized files appear on GitHub | https://docs.github.com/github/administering-a-repository/customizing-how-changed-files-appear-on-github |
| Please reload this page | https://github.com/python/cpython/pull/115920/files |
|
| https://github.com |
| Terms | https://docs.github.com/site-policy/github-terms/github-terms-of-service |
| Privacy | https://docs.github.com/site-policy/privacy-policies/github-privacy-statement |
| Security | https://github.com/security |
| Status | https://www.githubstatus.com/ |
| Community | https://github.community/ |
| Docs | https://docs.github.com/ |
| Contact | https://support.github.com?tags=dotcom-footer |