Python exceptions: is there a way to find the exception attributes?

John Hunter jdhunter at ace.bsd.uchicago.edu
Sat Nov 30 17:57:36 EST 2002


>>>>> "Pierre" == Pierre Rouleau <pieroul at attglobal.net> writes:

    Pierre> It would be nice to be able to do that from the
    Pierre> interpreter.  The only thing i have found using dir() is
    Pierre> shown below and it does not give me the attributes.

This is not something I have ever needed to do, but I'm curious: What
is wrong/inferior/unsatisfying about the dir approach?

Thanks,
John Hunter 




More information about the Python-list mailing list