Commit e4dea98e authored by Guido van Rossum's avatar Guido van Rossum

Fix the unit tests by adding dispatch tables for DateTime and Binary.

I'm not convinced this is the right thing to do...  InstanceType makes no sense any longer.
parent d8073285
......@@ -749,6 +749,8 @@ class Marshaller:
# store instance attributes as a struct (really?)
self.dump_struct(value.__dict__, write)
dispatch[InstanceType] = dump_instance
dispatch[DateTime] = dump_instance
dispatch[Binary] = dump_instance
##
# XML-RPC unmarshaller.
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment