Exception not captured
roy at panix.com
Tue Jan 11 08:50:15 EST 2005
In article <mailman.512.1105450018.22381.python-list at python.org>,
Miki Tebeka <miki.tebeka at zoran.com> wrote:
> print SCMError is e.__class__
> raise SystemExit
> I get to the second "except" clause, and the printout is:
> How is this possible?
I suspect you meant to do:
print "SCMError is", e.__class__
The way you have it now, it's printing out the result of the "is"
operator, which tests for identity.
More information about the Python-list