[Python-Dev] Re: Another approach to decorators. (original) (raw)

Guido van Rossum guido at python.org
Thu Aug 12 22:53:27 CEST 2004


> I think this is too far-fetched to consider as an alternative to the > humble @decorator.

Maybe, but if you're still serious about improving support for domain-specific embedded languages in Python you ought to give the ideas another look. If a reasonable syntax for decorators falls out of a more general and useful mechanism, so much the better.

How does

decorate <expr>, ...:
   <block>

improve support for domain-specific embedded languages?

--Guido van Rossum (home page: http://www.python.org/~guido/)



More information about the Python-Dev mailing list