Thanks, In Python 2.5 there are also functools.wraps and functools.update_wrapper: http://docs.python.org/dev/whatsnew/pep-309.html
George Sakkis wrote: > oripel wrote: > > Thanks Paddy - you're showing normal use of function attributes. > > They're still hidden when wrapped by an uncooperative decorator. > > The decorator module may be helpful in defining cooperative decorators: > http://www.phyast.pitt.edu/~micheles/python/documentation.html > > George -- http://mail.python.org/mailman/listinfo/python-list