On Sat, Sep 19, 2020 at 4:35 AM Paolo Lammens email@example.com wrote:
The current grammar for decorators is
decorator ::= "@" dotted_name ["(" [argument_list [","]] ")"] NEWLINE
This restricts the decorator syntax to dotted names with an optional call with an argument list:
Guido's Time Machine has been deployed and this change has already been made!
Starting with Python 3.9 (due for GA release in about a month), decorator syntax WILL be more flexible! :)