| route-pattern | /:user_id/:repository/pull/:id/files(.:format) |
| route-controller | pull_requests |
| route-action | files |
| fetch-nonce | v2:5b3d3887-0e79-9b4e-7556-12eac7bbfc4e |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | 82DE:211953:1C5E657:296DE20:6A54EAAC |
| html-safe-nonce | 2c4ba541c01239d5a664d1fef606d96d2ebeb1e2b0944372f218646f95ec019b |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4MkRFOjIxMTk1MzoxQzVFNjU3OjI5NkRFMjA6NkE1NEVBQUMiLCJ2aXNpdG9yX2lkIjoiODYzMzUxNTQ2MzcyNzcwNDc0OCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 827b0b181433c82fb2e7504cb3e59470b316687776b450b0cb73da39cbedb947 |
| hovercard-subject-tag | pull_request:377845932 |
| 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/18570/files |
| twitter:image | https://avatars.githubusercontent.com/u/40968415?s=400&v=4 |
| twitter:card | summary_large_image |
| og:image | https://avatars.githubusercontent.com/u/40968415?s=400&v=4 |
| og:image:alt | Marking as DO-NOT-MERGE until the PEP passes, but code review is still appreciated. Discussion of semantics should go to the Python-Dev thread for the PEP.
https://bugs.python.org/issue39702 |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | eae2aab99907699a22d2c8449aa683ca74454fca87211b98f7c7b722086b2839 |
| 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 | bb1b4ffdc07c66de20ad344214f55df0aa364bd3 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| Skip to content | https://github.com/python/cpython/pull/18570/files#start-of-content |
|
| https://github.com/ |
|
Sign in
| https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F18570%2Ffiles |
| GitHub CopilotWrite better code with AI | https://github.com/features/copilot |
| GitHub Copilot appDirect agents from issue to merge | https://github.com/features/ai/github-app |
| 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 |
| View all resources | https://github.com/resources |
| GitHub SponsorsFund open source developers | https://github.com/open-source/sponsors |
| Security Lab | https://securitylab.github.com |
| Maintainer Community | https://maintainers.github.com |
| Accelerator | https://github.com/open-source/accelerator |
| GitHub Stars | https://stars.github.com |
| 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/enterprise/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%2F18570%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/18570/files |
| Reload | https://github.com/python/cpython/pull/18570/files |
| Reload | https://github.com/python/cpython/pull/18570/files |
| Please reload this page | https://github.com/python/cpython/pull/18570/files |
|
python
| https://github.com/python |
| cpython | https://github.com/python/cpython |
| Please reload this page | https://github.com/python/cpython/pull/18570/files |
|
Notifications
| https://github.com/login?return_to=%2Fpython%2Fcpython |
|
Fork
35k
| https://github.com/login?return_to=%2Fpython%2Fcpython |
|
Star
73.8k
| 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.3k
| https://github.com/python/cpython/pulls |
|
Actions
| https://github.com/python/cpython/actions |
|
Projects
| https://github.com/python/cpython/projects |
|
Security and quality
0
| https://github.com/python/cpython/security |
|
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 and quality
| 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 |
| gvanrossum | https://github.com/gvanrossum |
| python:master | https://github.com/python/cpython/tree/master |
| brandtbucher:decorators | https://github.com/brandtbucher/cpython/tree/decorators |
|
Conversation
2
| https://github.com/python/cpython/pull/18570 |
|
Commits
13
| https://github.com/python/cpython/pull/18570/commits |
|
Checks
0
| https://github.com/python/cpython/pull/18570/checks |
|
Files changed
| https://github.com/python/cpython/pull/18570/files |
| Please reload this page | https://github.com/python/cpython/pull/18570/files |
|
bpo-39702: Relax grammar restrictions on decorators (PEP 614).
| https://github.com/python/cpython/pull/18570/files#top |
|
Show all changes
13 commits
| https://github.com/python/cpython/pull/18570/files |
|
a994a39
Allow decorators to be any valid expression.
brandtbucher Feb 7, 2020
| https://github.com/python/cpython/pull/18570/commits/a994a39b47d8f1ef78ceecbf53c537628f26ef63 |
|
c60225d
Fix assert.
brandtbucher Feb 17, 2020
| https://github.com/python/cpython/pull/18570/commits/c60225d7618e8d23de4b5b9d84634eb68c5f949f |
|
7b13502
Catch up with master.
brandtbucher Feb 17, 2020
| https://github.com/python/cpython/pull/18570/commits/7b13502223c35bf6645689e5d2f9039269f1cd45 |
|
c08cba5
Add grammar tests.
brandtbucher Feb 17, 2020
| https://github.com/python/cpython/pull/18570/commits/c08cba53ac917f3511eaa4ae599e4cc188cf48e6 |
|
d5e4089
Add tests to test_decorators.py.
brandtbucher Feb 19, 2020
| https://github.com/python/cpython/pull/18570/commits/d5e408954b6997ff5a789603982cdd2279c57fb4 |
|
86309d6
Add (and reorganize) new decorator tests.
brandtbucher Feb 19, 2020
| https://github.com/python/cpython/pull/18570/commits/86309d672e142a13431f5dba3a0f43adc9fe7173 |
|
409095a
Add parser tests.
brandtbucher Feb 20, 2020
| https://github.com/python/cpython/pull/18570/commits/409095a3832ac5fd0d6c055498acc3d5802c294b |
|
02ee14c
Add two more parser tests.
brandtbucher Feb 20, 2020
| https://github.com/python/cpython/pull/18570/commits/02ee14c4eb82c96da783cd10a5a995176d0e4ee0 |
|
3d61c24
Add more tests.
brandtbucher Feb 20, 2020
| https://github.com/python/cpython/pull/18570/commits/3d61c247d3bf8f1c6ae2b2743067eb7fc0a29105 |
|
7af6376
Add one more parser test.
brandtbucher Feb 20, 2020
| https://github.com/python/cpython/pull/18570/commits/7af6376bc2ba3caae14f6060f10555890c3eeab2 |
|
e38477d
Add NEWS entry.
brandtbucher Feb 20, 2020
| https://github.com/python/cpython/pull/18570/commits/e38477de32c2f42bf62b31c27a86414e8c4d4c47 |
|
93936f2
Add comment.
brandtbucher Feb 20, 2020
| https://github.com/python/cpython/pull/18570/commits/93936f25ac90c712825801986761cb999b45fcce |
|
6305f8b
Fix tiny copy-paste artifact.
brandtbucher Feb 21, 2020
| https://github.com/python/cpython/pull/18570/commits/6305f8bb4e5a52e4ff7ddf727b6b02d956ee92dc |
|
Clear filters
| https://github.com/python/cpython/pull/18570/files |
| Please reload this page | https://github.com/python/cpython/pull/18570/files |
| Please reload this page | https://github.com/python/cpython/pull/18570/files |
|
Grammar
| https://github.com/python/cpython/pull/18570/files#diff-02ea99ab273a0f05cf376d8135d80c0af09bb11b0e63a39bcdf92ccc85d7a912 |
|
node.h
| https://github.com/python/cpython/pull/18570/files#diff-d86c5e17c9a16edda507c509843279051d82f0b4d8d97147ec4d549acb5b9ccf |
|
test_decorators.py
| https://github.com/python/cpython/pull/18570/files#diff-9b0e146d781fe420af084a173b86ca0c980b7ef10c8905a8ff2dbf28305df11b |
|
test_grammar.py
| https://github.com/python/cpython/pull/18570/files#diff-7eac747e92e4e17aedea75013cc72e9365dabf8511aaa0b634b319a33d4a8b47 |
|
test_parser.py
| https://github.com/python/cpython/pull/18570/files#diff-d93e7572b76bff572320c40b6906d4be533871949bb93d66a528ab625a34da3e |
|
2020-02-20-08-12-52.bpo-39702.4_AmyF.rst
| https://github.com/python/cpython/pull/18570/files#diff-fd80bc1e4844794a2d1a6e240c55e3d084cfdb7bbe7c6bdc499a99b4c97fcb7c |
|
ast.c
| https://github.com/python/cpython/pull/18570/files#diff-63309d32b22eaebd869b7ac0d2d4d02f95bd7ff5de2ba042d07c8e6962af8bbc |
|
graminit.c
| https://github.com/python/cpython/pull/18570/files#diff-76c70199128010fef86abc1362c6b8ffb7da28407819c06d1a6fba0061ffb114 |
| Grammar/Grammar | https://github.com/python/cpython/pull/18570/files#diff-02ea99ab273a0f05cf376d8135d80c0af09bb11b0e63a39bcdf92ccc85d7a912 |
|
View file
| https://github.com/brandtbucher/cpython/blob/6305f8bb4e5a52e4ff7ddf727b6b02d956ee92dc/Grammar/Grammar |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/python/cpython/pull/18570/{{ revealButtonHref }} |
|
| https://github.com/python/cpython/pull/18570/files#diff-02ea99ab273a0f05cf376d8135d80c0af09bb11b0e63a39bcdf92ccc85d7a912 |
|
| https://github.com/python/cpython/pull/18570/files#diff-02ea99ab273a0f05cf376d8135d80c0af09bb11b0e63a39bcdf92ccc85d7a912 |
| Include/node.h | https://github.com/python/cpython/pull/18570/files#diff-d86c5e17c9a16edda507c509843279051d82f0b4d8d97147ec4d549acb5b9ccf |
|
View file
| https://github.com/brandtbucher/cpython/blob/6305f8bb4e5a52e4ff7ddf727b6b02d956ee92dc/Include/node.h |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/python/cpython/pull/18570/{{ revealButtonHref }} |
|
| https://github.com/python/cpython/pull/18570/files#diff-d86c5e17c9a16edda507c509843279051d82f0b4d8d97147ec4d549acb5b9ccf |
|
| https://github.com/python/cpython/pull/18570/files#diff-d86c5e17c9a16edda507c509843279051d82f0b4d8d97147ec4d549acb5b9ccf |
| Lib/test/test_decorators.py | https://github.com/python/cpython/pull/18570/files#diff-9b0e146d781fe420af084a173b86ca0c980b7ef10c8905a8ff2dbf28305df11b |
|
View file
| https://github.com/brandtbucher/cpython/blob/6305f8bb4e5a52e4ff7ddf727b6b02d956ee92dc/Lib/test/test_decorators.py |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/python/cpython/pull/18570/{{ revealButtonHref }} |
|
| https://github.com/python/cpython/pull/18570/files#diff-9b0e146d781fe420af084a173b86ca0c980b7ef10c8905a8ff2dbf28305df11b |
|
| https://github.com/python/cpython/pull/18570/files#diff-9b0e146d781fe420af084a173b86ca0c980b7ef10c8905a8ff2dbf28305df11b |
|
| https://github.com/python/cpython/pull/18570/files#diff-9b0e146d781fe420af084a173b86ca0c980b7ef10c8905a8ff2dbf28305df11b |
| Lib/test/test_grammar.py | https://github.com/python/cpython/pull/18570/files#diff-7eac747e92e4e17aedea75013cc72e9365dabf8511aaa0b634b319a33d4a8b47 |
|
View file
| https://github.com/brandtbucher/cpython/blob/6305f8bb4e5a52e4ff7ddf727b6b02d956ee92dc/Lib/test/test_grammar.py |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/python/cpython/pull/18570/{{ revealButtonHref }} |
|
| https://github.com/python/cpython/pull/18570/files#diff-7eac747e92e4e17aedea75013cc72e9365dabf8511aaa0b634b319a33d4a8b47 |
|
| https://github.com/python/cpython/pull/18570/files#diff-7eac747e92e4e17aedea75013cc72e9365dabf8511aaa0b634b319a33d4a8b47 |
|
| https://github.com/python/cpython/pull/18570/files#diff-7eac747e92e4e17aedea75013cc72e9365dabf8511aaa0b634b319a33d4a8b47 |
|
| https://github.com/python/cpython/pull/18570/files#diff-7eac747e92e4e17aedea75013cc72e9365dabf8511aaa0b634b319a33d4a8b47 |
|
| https://github.com/python/cpython/pull/18570/files#diff-7eac747e92e4e17aedea75013cc72e9365dabf8511aaa0b634b319a33d4a8b47 |
|
| https://github.com/python/cpython/pull/18570/files#diff-7eac747e92e4e17aedea75013cc72e9365dabf8511aaa0b634b319a33d4a8b47 |
| Lib/test/test_parser.py | https://github.com/python/cpython/pull/18570/files#diff-d93e7572b76bff572320c40b6906d4be533871949bb93d66a528ab625a34da3e |
|
View file
| https://github.com/brandtbucher/cpython/blob/6305f8bb4e5a52e4ff7ddf727b6b02d956ee92dc/Lib/test/test_parser.py |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/python/cpython/pull/18570/{{ revealButtonHref }} |
|
| https://github.com/python/cpython/pull/18570/files#diff-d93e7572b76bff572320c40b6906d4be533871949bb93d66a528ab625a34da3e |
|
| https://github.com/python/cpython/pull/18570/files#diff-d93e7572b76bff572320c40b6906d4be533871949bb93d66a528ab625a34da3e |
|
| https://github.com/python/cpython/pull/18570/files#diff-d93e7572b76bff572320c40b6906d4be533871949bb93d66a528ab625a34da3e |
|
| https://github.com/python/cpython/pull/18570/files#diff-d93e7572b76bff572320c40b6906d4be533871949bb93d66a528ab625a34da3e |
| Misc/NEWS.d/next/Core and Builtins/2020-02-20-08-12-52.bpo-39702.4_AmyF.rst | https://github.com/python/cpython/pull/18570/files#diff-fd80bc1e4844794a2d1a6e240c55e3d084cfdb7bbe7c6bdc499a99b4c97fcb7c |
|
View file
| https://github.com/brandtbucher/cpython/blob/6305f8bb4e5a52e4ff7ddf727b6b02d956ee92dc/Misc/NEWS.d/next/Core%20and%20Builtins/2020-02-20-08-12-52.bpo-39702.4_AmyF.rst |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/python/cpython/pull/18570/{{ revealButtonHref }} |
| Python/ast.c | https://github.com/python/cpython/pull/18570/files#diff-63309d32b22eaebd869b7ac0d2d4d02f95bd7ff5de2ba042d07c8e6962af8bbc |
|
View file
| https://github.com/brandtbucher/cpython/blob/6305f8bb4e5a52e4ff7ddf727b6b02d956ee92dc/Python/ast.c |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/python/cpython/pull/18570/{{ revealButtonHref }} |
|
| https://github.com/python/cpython/pull/18570/files#diff-63309d32b22eaebd869b7ac0d2d4d02f95bd7ff5de2ba042d07c8e6962af8bbc |
|
| https://github.com/python/cpython/pull/18570/files#diff-63309d32b22eaebd869b7ac0d2d4d02f95bd7ff5de2ba042d07c8e6962af8bbc |
| Please reload this page | https://github.com/python/cpython/pull/18570/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 |