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
--
http://mail.python.org/mailman/listinfo/python-list
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
--
http://mail.python.org/mailman/listinfo/python-list