>You can create your own Exception class, based on this recipe:< Thank you for your answer, the recipe you have suggested gives a very big output, but it doesn't contain what I've asked for... :-) I was asking to see that faulty method/function parameters (or the first line of its docstring). Probably the use of sys.excepthook is better, because you don't need that except: raise test.Error('xxx') I've studied that solution of yours, and I think I still have to learn many things about Python :-)
Bye, thank you, Bearophile -- http://mail.python.org/mailman/listinfo/python-list