[Python-Dev] Call for defense of @decorators
Neil Schemenauer
nas at arctrix.com
Thu Aug 5 22:11:40 CEST 2004
On Thu, Aug 05, 2004 at 09:54:17PM +0200, Ronald Oussoren wrote:
> Not every method is a property accessor. The metaclass does calculate a
> default signature (all arguments are objects and the result is an
> object) when it doesn't have better information (such as the signature
> of a method with the same name in a superclass).
Sorry I wasn't clearer. What I meant was if we have a nice syntax
for setting function attributes then the metaclass to transform the
functions just like a decorator could.
Neil
More information about the Python-Dev
mailing list