[Python-ideas] Default decorator?

Lucio Torre lucio.torre at gmail.com
Thu Jan 17 03:15:22 CET 2008


On Jan 16, 2008 10:33 PM, Ryan Freckleton <ryan.freckleton at gmail.com> wrote:

> +1 from me. But I'm just a ignorant python end-user :-) I imagine it
> would probably end up being used like the __metaclass__ module hook is
> now.
>

One problem is that you can override a module level __metaclass__ with a
class level __metaclass__, but I dont see how i could express this for
default decorators. How would i be able to say "all functions but this one"?
In that case, the default decorator is useless.

Lucio.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-ideas/attachments/20080116/e6929ca5/attachment.html>


More information about the Python-ideas mailing list