args attribute of Exception objects

Sebastien de Menten sdementen at hotmail.com
Tue Apr 12 04:57:31 EDT 2005


Thank you guys for those good advices (and the very interesting
example of AST hacking).

However, this was an example of use for Exception.args. It does not
alleviate my concerns about the fact that the args attribute is poorly
designed for standard Exceptions.
It is as if the Exception design was only made for end users (display
of a string in an interpreter) without thinking about original ways to
use them :-)

Seb



More information about the Python-list mailing list