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