D'Arcy J.M. Cain <[EMAIL PROTECTED]> wrote: >Under Python 2.4 this works fine. If an exception is raised in the >looked up method it gets handled by this code just fine. Under 2.5, >however, the exception is not caught here. It's as if there was no >try/except here at all.
Python 2.5 changed the exception hierarchy a bit. The Exception class is no longer at the root and now inheirits from BaseException. If the exception being thrown was KeyboardInterrupt or SystemExit then it won't be caught by your code. Ross Ridge -- l/ // Ross Ridge -- The Great HTMU [oo][oo] [EMAIL PROTECTED] -()-/()/ http://www.csclub.uwaterloo.ca/~rridge/ db // -- http://mail.python.org/mailman/listinfo/python-list