This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author brandtbucher
Recipients brandtbucher, gvanrossum
Date 2020-02-20.16:12:25
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1582215145.16.0.34815642768.issue39702@roundup.psfhosted.org>
In-reply-to
Content
The attached PR implements PEP 614's revised grammar for decorators, with tests. In short:

decorator: '@' dotted_name [ '(' [arglist] ')' ] NEWLINE

becomes

decorator: '@' namedexpr_test NEWLINE

I'm marking it as DO-NOT-MERGE until the PEP is accepted, but code review is still appreciated. Discussion of the PEP itself should go to the Python-Dev thread:

https://mail.python.org/archives/list/python-dev@python.org/thread/SLKFAR56RA6A533O5ZOZ7XTJ764EMB7I
History
Date User Action Args
2020-02-20 16:12:25brandtbuchersetrecipients: + brandtbucher, gvanrossum
2020-02-20 16:12:25brandtbuchersetmessageid: <1582215145.16.0.34815642768.issue39702@roundup.psfhosted.org>
2020-02-20 16:12:25brandtbucherlinkissue39702 messages
2020-02-20 16:12:25brandtbuchercreate