Re-raising exceptions with modified message
Christoph Zwerschke
cito at online.de
Sun Jul 8 09:50:12 EDT 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