On Dec 31 2009, 4:30 pm, Steven D'Aprano <st...@remove-this- cybersource.com.au> wrote:
> For the record you can get the exception type from type(e): > > raise type(e)("whatever you want") > > but that creates a new exception, not re-raising the old one. Except if a type constructs with some other number of arguments, apparently... -- http://mail.python.org/mailman/listinfo/python-list