On Wed, 5 Aug 2020 at 15:53, Ricky Teachey <ri...@teachey.org> wrote: > How about this? > > @print(sep="\n") > 1, 2, 3
If you consider @print as a function decorator, it's quite a problem. But I was thinking mainly about a sort of "decorator" for the parser and/or the AST compiler. This could allow you to have, for example: from mypython import * @const a = 5 with a C extension. More than an idea is a question, since I've no knowledge about AST and code parsers. _______________________________________________ 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/GVB3GZOY3VYLOFXJ2WSPA5AUTJSQUYII/ Code of Conduct: http://python.org/psf/codeofconduct/