1 --- Python-2.5/Lib/xmlrpclib.py.orig 2007-04-10 10:29:14.000000000 -0400
2 +++ Python-2.5/Lib/xmlrpclib.py 2007-06-19 12:08:04.000000000 -0400
5 f = self.dispatch[type(value)]
7 - raise TypeError, "cannot marshal %s objects" % type(value)
8 + if isinstance(value, object):
9 + self.dump_instance(value, write)
11 + raise TypeError, "cannot marshal %s objects" % type(value)