| route-pattern | /_view_fragments/voltron/pull_requests/show/:user_id/:repository/:id/pull_request_layout(.:format) |
| route-controller | voltron_pull_requests_fragments |
| route-action | pull_request_layout |
| fetch-nonce | v2:2b2d5647-f966-697c-d772-bd54cc9830a0 |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | 93B4:DEDFE:DB27E4:12730E9:696AC710 |
| html-safe-nonce | c34c41bdd985c32a431dc3ef3d3a36ee27b0ba166cad085146d2360cb695cefc |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5M0I0OkRFREZFOkRCMjdFNDoxMjczMEU5OjY5NkFDNzEwIiwidmlzaXRvcl9pZCI6IjQ2NjU3MTYzMDkzNDc3MTQ4MzIiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 293607558efb1b56f9cc935333857ff3e4e95eb0a61a122dd87ea6fd4dda534b |
| hovercard-subject-tag | pull_request:143221367 |
| 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 | ///voltron/pull_requests_fragments/pull_request_layout |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/voltron/pull_requests/show/python/cpython/3771/pull_request_layout |
| twitter:image | https://opengraph.githubassets.com/4eeafdb237bcdf5b446ba57cc0f4db3d9a7b9182eaaa119fe8c085c05ee9d3cd/python/cpython/pull/3771 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/4eeafdb237bcdf5b446ba57cc0f4db3d9a7b9182eaaa119fe8c085c05ee9d3cd/python/cpython/pull/3771 |
| og:image:alt | While this is a valid Python 2 and Python 3 syntax lib2to3 would choke
on it:
set(x for x in [],)
This patch changes the grammar definition used by lib2to3 so that the
actual Python syntax is s... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | jstasiak |
| hostname | github.com |
| expected-hostname | github.com |
| None | 986b6a1d774985095564e64d6963d11f094da3d0e2bfda2ab1a27d63662eb033 |
| turbo-cache-control | no-preview |
| 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 |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 89ad2112b9c4e11df6a0c13c8c1f8eedd36b0977 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| Skip to content | https://github.com/python/cpython/pull/3771#start-of-content |
|
| https://github.com/ |
|
Sign in
| https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F3771 |
| GitHub CopilotWrite better code with AI | https://github.com/features/copilot |
| GitHub SparkBuild and deploy intelligent apps | https://github.com/features/spark |
| GitHub ModelsManage and compare prompts | https://github.com/features/models |
| MCP RegistryNewIntegrate external tools | https://github.com/mcp |
| ActionsAutomate any workflow | https://github.com/features/actions |
| CodespacesInstant dev environments | https://github.com/features/codespaces |
| IssuesPlan and track work | https://github.com/features/issues |
| Code ReviewManage code changes | https://github.com/features/code-review |
| GitHub Advanced SecurityFind and fix vulnerabilities | https://github.com/security/advanced-security |
| Code securitySecure your code as you build | https://github.com/security/advanced-security/code-security |
| Secret protectionStop leaks before they start | https://github.com/security/advanced-security/secret-protection |
| Why GitHub | https://github.com/why-github |
| Documentation | https://docs.github.com |
| Blog | https://github.blog |
| Changelog | https://github.blog/changelog |
| Marketplace | https://github.com/marketplace |
| View all features | https://github.com/features |
| Enterprises | https://github.com/enterprise |
| Small and medium teams | https://github.com/team |
| Startups | https://github.com/enterprise/startups |
| Nonprofits | https://github.com/solutions/industry/nonprofits |
| App Modernization | https://github.com/solutions/use-case/app-modernization |
| DevSecOps | https://github.com/solutions/use-case/devsecops |
| DevOps | https://github.com/solutions/use-case/devops |
| CI/CD | https://github.com/solutions/use-case/ci-cd |
| View all use cases | https://github.com/solutions/use-case |
| 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 |
| View all industries | https://github.com/solutions/industry |
| View all solutions | https://github.com/solutions |
| AI | https://github.com/resources/articles?topic=ai |
| Software Development | https://github.com/resources/articles?topic=software-development |
| DevOps | https://github.com/resources/articles?topic=devops |
| Security | https://github.com/resources/articles?topic=security |
| View all topics | https://github.com/resources/articles |
| Customer stories | https://github.com/customer-stories |
| Events & webinars | https://github.com/resources/events |
| Ebooks & reports | https://github.com/resources/whitepapers |
| Business insights | https://github.com/solutions/executive-insights |
| GitHub Skills | https://skills.github.com |
| Documentation | https://docs.github.com |
| Customer support | https://support.github.com |
| Community forum | https://github.com/orgs/community/discussions |
| Trust center | https://github.com/trust-center |
| Partners | https://github.com/partners |
| GitHub SponsorsFund open source developers | https://github.com/sponsors |
| Security Lab | https://securitylab.github.com |
| Maintainer Community | https://maintainers.github.com |
| Accelerator | https://github.com/accelerator |
| Archive Program | https://archiveprogram.github.com |
| Topics | https://github.com/topics |
| Trending | https://github.com/trending |
| Collections | https://github.com/collections |
| Enterprise platformAI-powered developer platform | https://github.com/enterprise |
| GitHub Advanced SecurityEnterprise-grade security features | 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/premium-support |
| Pricing | https://github.com/pricing |
| Search syntax tips | https://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax |
| documentation | https://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%2F3771 |
|
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 |
| Reload | https://github.com/python/cpython/pull/3771 |
| Reload | https://github.com/python/cpython/pull/3771 |
| Reload | https://github.com/python/cpython/pull/3771 |
|
python
| https://github.com/python |
| cpython | https://github.com/python/cpython |
| Please reload this page | https://github.com/python/cpython/pull/3771 |
|
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 page | https://github.com/python/cpython/pull/3771 |
|
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 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 |
| Jump to bottom | https://github.com/python/cpython/pull/3771#issue-comment-box |
| benjaminp | https://github.com/benjaminp |
| python:master | https://github.com/python/cpython/tree/master |
| jstasiak:fix-lib2to3 | https://github.com/jstasiak/cpython/tree/fix-lib2to3 |
|
bpo-27494: Fix 2to3 handling of trailing comma after a generator expression
| https://github.com/python/cpython/pull/3771#top |
| benjaminp | https://github.com/benjaminp |
| python:master | https://github.com/python/cpython/tree/master |
| jstasiak:fix-lib2to3 | https://github.com/jstasiak/cpython/tree/fix-lib2to3 |
|
Conversation
2
| https://github.com/python/cpython/pull/3771 |
|
Commits
2
| https://github.com/python/cpython/pull/3771/commits |
|
Checks
0
| https://github.com/python/cpython/pull/3771/checks |
|
Files changed
| https://github.com/python/cpython/pull/3771/files |
| Please reload this page | https://github.com/python/cpython/pull/3771 |
| https://github.co/hiddenchars |
| https://github.com/python/cpython/pull/{{ revealButtonHref }} |
|
| https://github.com/jstasiak |
| jstasiak | https://github.com/jstasiak |
| Sep 26, 2017 | https://github.com/python/cpython/pull/3771#issue-260740467 |
| https://bugs.python.org/issue27494 | https://bugs.python.org/issue27494 |
| #60 | https://github.com/python/cpython/pull/60 |
| Please reload this page | https://github.com/python/cpython/pull/3771 |
| https://github.com/bedevere-bot |
| bedevere-bot | https://github.com/bedevere-bot |
|
awaiting review
| https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22awaiting%20review%22 |
| Sep 26, 2017 | https://github.com/python/cpython/pull/3771#event-1266439818 |
| https://github.com/the-knights-who-say-ni |
| the-knights-who-say-ni | https://github.com/the-knights-who-say-ni |
|
CLA signed
| https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22CLA%20signed%22 |
| Sep 26, 2017 | https://github.com/python/cpython/pull/3771#event-1266439830 |
| https://github.com/jstasiak |
| jstasiak | https://github.com/jstasiak |
|
Sep 26, 2017
| https://github.com/python/cpython/pull/3771#ref-pullrequest-207104758 |
|
bpo-27494: Fix a 2to3 parser bug (trailing comma)
#60
| https://github.com/python/cpython/pull/60 |
|
| https://github.com/jstasiak |
| bpo-27494: Fix 2to3 handling of trailing comma after a generator expr… | https://github.com/python/cpython/pull/3771/commits/b6dca9ea6951cdb16f23de5eab844a6ecb670c2a |
| b6dca9e | https://github.com/python/cpython/pull/3771/commits/b6dca9ea6951cdb16f23de5eab844a6ecb670c2a |
| https://github.com/jstasiak |
| jstasiak | https://github.com/jstasiak |
| force-pushed | https://github.com/python/cpython/compare/71b60a57ab134e0d1a6dc8bc9356997c28297723..b6dca9ea6951cdb16f23de5eab844a6ecb670c2a |
| 71b60a5 | https://github.com/python/cpython/commit/71b60a57ab134e0d1a6dc8bc9356997c28297723 |
| b6dca9e | https://github.com/python/cpython/commit/b6dca9ea6951cdb16f23de5eab844a6ecb670c2a |
|
Compare
| https://github.com/python/cpython/compare/71b60a57ab134e0d1a6dc8bc9356997c28297723..b6dca9ea6951cdb16f23de5eab844a6ecb670c2a |
| October 1, 2017 21:19 | https://github.com/python/cpython/pull/3771#event-1273212092 |
| https://github.com/jstasiak |
| jstasiak | https://github.com/jstasiak |
| Oct 4, 2017 | https://github.com/python/cpython/pull/3771#issuecomment-334230870 |
| @ambv | https://github.com/ambv |
| @benjaminp | https://github.com/benjaminp |
| Please reload this page | https://github.com/python/cpython/pull/3771 |
|
| https://github.com/benjaminp |
| reword | https://github.com/python/cpython/pull/3771/commits/07560411f34dfd464b1d3b0874401288c1a8b60c |
| 0756041 | https://github.com/python/cpython/pull/3771/commits/07560411f34dfd464b1d3b0874401288c1a8b60c |
| https://github.com/benjaminp |
| benjaminp | https://github.com/benjaminp |
| af810b3 | https://github.com/python/cpython/commit/af810b35b494ef1d255d4bf340b92a9dad446995 |
| Oct 5, 2017 | https://github.com/python/cpython/pull/3771#event-1279337533 |
| https://github.com/bedevere-bot |
| bedevere-bot | https://github.com/bedevere-bot |
|
awaiting review
| https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22awaiting%20review%22 |
| Oct 5, 2017 | https://github.com/python/cpython/pull/3771#event-1279337563 |
| https://github.com/jstasiak |
| jstasiak | https://github.com/jstasiak |
| Oct 5, 2017 | https://github.com/python/cpython/pull/3771#issuecomment-334474821 |
| Please reload this page | https://github.com/python/cpython/pull/3771 |
| https://github.com/jstasiak |
| jstasiak | https://github.com/jstasiak |
| October 5, 2017 14:04 | https://github.com/python/cpython/pull/3771#event-1279984638 |
| serhiy-storchaka | https://github.com/serhiy-storchaka |
|
Jul 11, 2018
| https://github.com/python/cpython/pull/3771#ref-commit-79d58f9 |
|
| https://github.com/serhiy-storchaka |
| Revert "closes bpo-27494: Fix 2to3 handling of trailing comma after a… | https://github.com/serhiy-storchaka/cpython/commit/79d58f9f4bdaeeb04daa056bd3a4ec90d83d1cb3 |
| 79d58f9 | https://github.com/serhiy-storchaka/cpython/commit/79d58f9f4bdaeeb04daa056bd3a4ec90d83d1cb3 |
| python#3771 | https://github.com/python/cpython/pull/3771 |
| af810b3 | https://github.com/serhiy-storchaka/cpython/commit/af810b35b494ef1d255d4bf340b92a9dad446995 |
| miss-islington | https://github.com/miss-islington |
|
Jul 31, 2018
| https://github.com/python/cpython/pull/3771#ref-commit-99cc7f2 |
|
| https://github.com/serhiy-storchaka |
|
| https://github.com/miss-islington |
| Revert "closes bpo-27494: Fix 2to3 handling of trailing comma after a… | https://github.com/miss-islington/cpython/commit/99cc7f2c3254547d65e89004132cb0a7717995e7 |
| 99cc7f2 | https://github.com/miss-islington/cpython/commit/99cc7f2c3254547d65e89004132cb0a7717995e7 |
| pythonGH-3771 | https://github.com/python/cpython/pull/3771 |
| pythonGH-8241 | https://github.com/python/cpython/pull/8241 |
| af810b3 | https://github.com/miss-islington/cpython/commit/af810b35b494ef1d255d4bf340b92a9dad446995 |
| 4b8a7f5 | https://github.com/miss-islington/cpython/commit/4b8a7f51da224d1a0ad8159935f78ba4e6e16037 |
| serhiy-storchaka | https://github.com/serhiy-storchaka |
|
Jul 31, 2018
| https://github.com/python/cpython/pull/3771#ref-commit-4b8a7f5 |
|
| https://github.com/serhiy-storchaka |
| Revert "closes | https://github.com/python/cpython/commit/4b8a7f51da224d1a0ad8159935f78ba4e6e16037 |
| bpo-27494 | https://bugs.python.org/issue?@action=redirect&bpo=27494 |
| : Fix 2to3 handling of trailing comma after … | https://github.com/python/cpython/commit/4b8a7f51da224d1a0ad8159935f78ba4e6e16037 |
| 4b8a7f5 | https://github.com/python/cpython/commit/4b8a7f51da224d1a0ad8159935f78ba4e6e16037 |
| GH-3771 | https://github.com/python/cpython/pull/3771 |
| #8241 | https://github.com/python/cpython/pull/8241 |
| af810b3 | https://github.com/python/cpython/commit/af810b35b494ef1d255d4bf340b92a9dad446995 |
| bpo-32012 | https://bugs.python.org/issue?@action=redirect&bpo=32012 |
| miss-islington | https://github.com/miss-islington |
|
Jul 31, 2018
| https://github.com/python/cpython/pull/3771#ref-commit-9ecbe33 |
|
| https://github.com/miss-islington |
|
| https://github.com/serhiy-storchaka |
| Revert "closes | https://github.com/python/cpython/commit/9ecbe3321f7bb3726017a053e583ca507d4453fc |
| bpo-27494 | https://bugs.python.org/issue?@action=redirect&bpo=27494 |
| : Fix 2to3 handling of trailing comma after a… | https://github.com/python/cpython/commit/9ecbe3321f7bb3726017a053e583ca507d4453fc |
| 9ecbe33 | https://github.com/python/cpython/commit/9ecbe3321f7bb3726017a053e583ca507d4453fc |
| GH-3771 | https://github.com/python/cpython/pull/3771 |
| GH-8241 | https://github.com/python/cpython/pull/8241 |
| af810b3 | https://github.com/python/cpython/commit/af810b35b494ef1d255d4bf340b92a9dad446995 |
| bpo-32012 | https://bugs.python.org/issue?@action=redirect&bpo=32012 |
| 4b8a7f5 | https://github.com/python/cpython/commit/4b8a7f51da224d1a0ad8159935f78ba4e6e16037 |
| Sign up for free | https://github.com/join?source=comment-repo |
| Sign in to comment | https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F3771 |
| Please reload this page | https://github.com/python/cpython/pull/3771 |
|
| https://github.com/jstasiak |
|
| https://github.com/benjaminp |
|
| https://github.com/the-knights-who-say-ni |
|
| https://github.com/bedevere-bot |
|
| 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 |