On Sat, Sep 19, 2020 at 4:35 AM Paolo Lammens <[email protected]> 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! https://www.python.org/dev/peps/pep-0614/ Starting with Python 3.9 (due for GA release in about a month), decorator syntax WILL be more flexible! :) ChrisA _______________________________________________ Python-ideas mailing list -- [email protected] To unsubscribe send an email to [email protected] https://mail.python.org/mailman3/lists/python-ideas.python.org/ Message archived at https://mail.python.org/archives/list/[email protected]/message/3QUTTOLZF4QDKXHGP6XDBPUIAG6VKUBR/ Code of Conduct: http://python.org/psf/codeofconduct/
