try:
raise Exception, 12
except Exception, number:
print number == 12
# FalseThis is because the number variable is a exception instance and not an integer.
I wonder if I'm the only one which find this behavior odd, and if anyone knows if there is a way to retrieve the original initialization value of the exception.
ola
-- -------------------------------------- Ola Natvig <[EMAIL PROTECTED]> infoSense AS / development -- http://mail.python.org/mailman/listinfo/python-list
