René's URL Explorer Experiment


Title: bpo-39702: Relax grammar restrictions on decorators (PEP 614). by brandtbucher · Pull Request #18570 · python/cpython · GitHub

Open Graph Title: bpo-39702: Relax grammar restrictions on decorators (PEP 614). by brandtbucher · Pull Request #18570 · python/cpython

X Title: bpo-39702: Relax grammar restrictions on decorators (PEP 614). by brandtbucher · Pull Request #18570 · python/cpython

Description: 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

Open Graph Description: 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

X Description: 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

Opengraph URL: https://github.com/python/cpython/pull/18570

X: @github

direct link

Domain: github.com

route-pattern/:user_id/:repository/pull/:id/files(.:format)
route-controllerpull_requests
route-actionfiles
fetch-noncev2:5b3d3887-0e79-9b4e-7556-12eac7bbfc4e
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-id82DE:211953:1C5E657:296DE20:6A54EAAC
html-safe-nonce2c4ba541c01239d5a664d1fef606d96d2ebeb1e2b0944372f218646f95ec019b
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4MkRFOjIxMTk1MzoxQzVFNjU3OjI5NkRFMjA6NkE1NEVBQUMiLCJ2aXNpdG9yX2lkIjoiODYzMzUxNTQ2MzcyNzcwNDc0OCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmac827b0b181433c82fb2e7504cb3e59470b316687776b450b0cb73da39cbedb947
hovercard-subject-tagpull_request:377845932
github-keyboard-shortcutsrepository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///pull_requests/show/files
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/python/cpython/pull/18570/files
twitter:imagehttps://avatars.githubusercontent.com/u/40968415?s=400&v=4
twitter:cardsummary_large_image
og:imagehttps://avatars.githubusercontent.com/u/40968415?s=400&v=4
og:image:altMarking 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_nameGitHub
og:typeobject
hostnamegithub.com
expected-hostnamegithub.com
Noneeae2aab99907699a22d2c8449aa683ca74454fca87211b98f7c7b722086b2839
turbo-cache-controlno-preview
diff-viewunified
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 full-width
disable-turbotrue
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
releasebb1b4ffdc07c66de20ad344214f55df0aa364bd3
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://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 AIhttps://github.com/features/copilot
GitHub Copilot appDirect agents from issue to mergehttps://github.com/features/ai/github-app
MCP RegistryNewIntegrate external toolshttps://github.com/mcp
ActionsAutomate any workflowhttps://github.com/features/actions
CodespacesInstant dev environmentshttps://github.com/features/codespaces
IssuesPlan and track workhttps://github.com/features/issues
Code ReviewManage code changeshttps://github.com/features/code-review
GitHub Advanced SecurityFind and fix vulnerabilitieshttps://github.com/security/advanced-security
Code securitySecure your code as you buildhttps://github.com/security/advanced-security/code-security
Secret protectionStop leaks before they starthttps://github.com/security/advanced-security/secret-protection
Why GitHubhttps://github.com/why-github
Documentationhttps://docs.github.com
Bloghttps://github.blog
Changeloghttps://github.blog/changelog
Marketplacehttps://github.com/marketplace
View all featureshttps://github.com/features
Enterpriseshttps://github.com/enterprise
Small and medium teamshttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
App Modernizationhttps://github.com/solutions/use-case/app-modernization
DevSecOpshttps://github.com/solutions/use-case/devsecops
DevOpshttps://github.com/solutions/use-case/devops
CI/CDhttps://github.com/solutions/use-case/ci-cd
View all use caseshttps://github.com/solutions/use-case
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
View all industrieshttps://github.com/solutions/industry
View all solutionshttps://github.com/solutions
AIhttps://github.com/resources/articles?topic=ai
Software Developmenthttps://github.com/resources/articles?topic=software-development
DevOpshttps://github.com/resources/articles?topic=devops
Securityhttps://github.com/resources/articles?topic=security
View all topicshttps://github.com/resources/articles
Customer storieshttps://github.com/customer-stories
Events & webinarshttps://github.com/resources/events
Ebooks & reportshttps://github.com/resources/whitepapers
Business insightshttps://github.com/solutions/executive-insights
GitHub Skillshttps://skills.github.com
Documentationhttps://docs.github.com
Customer supporthttps://support.github.com
Community forumhttps://github.com/orgs/community/discussions
Trust centerhttps://github.com/trust-center
Partnershttps://github.com/partners
View all resourceshttps://github.com/resources
GitHub SponsorsFund open source developershttps://github.com/open-source/sponsors
Security Labhttps://securitylab.github.com
Maintainer Communityhttps://maintainers.github.com
Acceleratorhttps://github.com/open-source/accelerator
GitHub Starshttps://stars.github.com
Archive Programhttps://archiveprogram.github.com
Topicshttps://github.com/topics
Trendinghttps://github.com/trending
Collectionshttps://github.com/collections
Enterprise platformAI-powered developer platformhttps://github.com/enterprise
GitHub Advanced SecurityEnterprise-grade security featureshttps://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
Pricinghttps://github.com/pricing
Search syntax tipshttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
documentationhttps://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
Reloadhttps://github.com/python/cpython/pull/18570/files
Reloadhttps://github.com/python/cpython/pull/18570/files
Reloadhttps://github.com/python/cpython/pull/18570/files
Please reload this pagehttps://github.com/python/cpython/pull/18570/files
python https://github.com/python
cpythonhttps://github.com/python/cpython
Please reload this pagehttps://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 servicehttps://docs.github.com/terms
privacy statementhttps://docs.github.com/privacy
Sign inhttps://github.com/login?return_to=%2Fpython%2Fcpython%2Fissues%2Fnew%2Fchoose
gvanrossumhttps://github.com/gvanrossum
python:masterhttps://github.com/python/cpython/tree/master
brandtbucher:decoratorshttps://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 pagehttps://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 pagehttps://github.com/python/cpython/pull/18570/files
Please reload this pagehttps://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/Grammarhttps://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.hhttps://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.pyhttps://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.pyhttps://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.pyhttps://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.rsthttps://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.chttps://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 pagehttps://github.com/python/cpython/pull/18570/files
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.