anuraguni...@yahoo.com wrote:
except TypeError,e: print "1",e # is caught here 1 exceptions must be classes or instances, not strdoesn't happen so in 2.5.2
I tested it in 2.6.2 Perhaps you could try something like: try: raise "xxx" except Exception, e: print "1",e # is caught here ...and then test e.message and reraise if necessary -- http://mail.python.org/mailman/listinfo/python-list