The problem of anonymity with decorators

skip at pobox.com skip at pobox.com
Tue Feb 7 14:53:00 EST 2006


    Franck> My problem is that the errors comes from a function named
    Franck> "wrapped" while I'd prefer to see here the name of the wrapped
    Franck> function.

Take a look at

    http://wiki.python.org/moin/PythonDecoratorLibrary

In particular, check out the Decorator decorator.

Skip



More information about the Python-list mailing list