[Python-Dev] Call for defense of @decorators
Neil Schemenauer
nas at arctrix.com
Thu Aug 5 22:11:40 CEST 2004
More information about the Python-Dev mailing list
Thu Aug 5 22:11:40 CEST 2004
- Previous message: [Python-Dev] Call for defense of @decorators
- Next message: [Python-Dev] Call for defense of @decorators
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
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
- Previous message: [Python-Dev] Call for defense of @decorators
- Next message: [Python-Dev] Call for defense of @decorators
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Python-Dev mailing list