Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upbpo-39702: Relax grammar restrictions on decorators (PEP 614). #18570
Conversation
This comment has been minimized.
This comment has been minimized.
Nice reduction in general for the code. I do suggest that you test the corresponding impact of this relaxation, if only to show positive examples as in the proposed PEP as well as where some errors go from
|
This comment has been minimized.
This comment has been minimized.
Thanks, good suggestion. I consciously decided to hold off on adding additional code (including tests for the parser and other parts of the interpreter) until after the first couple of rounds of review. Now that the design has stabilized, I'm moving forward with adding tests and generally trying to break this thing for a day or two. |
Amazing! Can’t wait to see what creative use people are going to make of the walrus here... :-) |
PEP 614 has been accepted! |
be501ca
into
python:master
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