On Sat, Sep 19, 2020 at 4:35 AM Paolo Lammens <lammenspa...@gmail.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! 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 -- python-ideas@python.org To unsubscribe send an email to python-ideas-le...@python.org https://mail.python.org/mailman3/lists/python-ideas.python.org/ Message archived at https://mail.python.org/archives/list/python-ideas@python.org/message/3QUTTOLZF4QDKXHGP6XDBPUIAG6VKUBR/ Code of Conduct: http://python.org/psf/codeofconduct/