Re-raising exceptions with modified message

Christoph Zwerschke cito at
Sun Jul 8 15:50:12 CEST 2007

Did you run this?
With Py < 2.5 I get a syntax error, and with Py 2.5 I get:

     new.__class__ = old.__class__
TypeError: __class__ must be set to a class

-- Chris

More information about the Python-list mailing list