Phillip J. Eby wrote:
> The PEP lists *five* built-in decorators, all of which support this behavior::
> 
>     @overload, @when, @before, @after, @around

This seems massively over-designed. All you need is the
ability to call the next method, and you can get all of
these behaviours. If you call it first, then you get
after behaviour; if you call it last, you get before
behaviour; etc.

--
Greg
_______________________________________________
Python-3000 mailing list
[email protected]
http://mail.python.org/mailman/listinfo/python-3000
Unsubscribe: 
http://mail.python.org/mailman/options/python-3000/archive%40mail-archive.com

Reply via email to