> > Yes, there has been quite a bit of interest including several ASPN > > recipes and a wiki: > > > > http://www.python.org/moin/PythonDecoratorLibrary > > Thanks, I didn't know about that page. BTW, I notice that all the > decorators > in that page are improper, in the sense that they change the signature of > the function they decorate.
Signature changing and signature preserving are probably better classifications than proper and improper. Even then, some decorators like atexit() and classmethod() may warrant their own special categories. Raymond _______________________________________________ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailman/listinfo/python-dev Unsubscribe: http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com