2011/5/31 Steven D'Aprano <[email protected]> > You should inherit exceptions from the Exception class: > OK, as a matter of fact, it was not Error, it was the own error class of a bigger program, I just wanted to substitute it with the root object by heart, and I was wrong, sorry.
> Only built-in exceptions don't print the module name. > You just have to live with it. > > Thank you, this is what I wanted to know. Raising an error is better than to write anything, becuse it gives traceback and line number. Péter
_______________________________________________ Tutor maillist - [email protected] To unsubscribe or change subscription options: http://mail.python.org/mailman/listinfo/tutor
