diff options
author | Guido van Rossum <guido@python.org> | 2006-04-21 13:45:00 (GMT) |
---|---|---|
committer | Guido van Rossum <guido@python.org> | 2006-04-21 13:45:00 (GMT) |
commit | e4dea98e5aed37b71625cd76988433f5f8bee379 (patch) | |
tree | e89a2f56bf9093a0ca2165c8e2c5e8039148cba9 | |
parent | d8073285ffd92eefee1546d2bbe7156eb957e5d7 (diff) | |
download | cpython-e4dea98e5aed37b71625cd76988433f5f8bee379.zip cpython-e4dea98e5aed37b71625cd76988433f5f8bee379.tar.gz cpython-e4dea98e5aed37b71625cd76988433f5f8bee379.tar.bz2 |
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.
-rw-r--r-- | Lib/xmlrpclib.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Lib/xmlrpclib.py b/Lib/xmlrpclib.py index 6fb6c68..bac0a9f 100644 --- a/Lib/xmlrpclib.py +++ b/Lib/xmlrpclib.py @@ -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. |