[prev in list] [next in list] [prev in thread] [next in thread]
List: python-3000-checkins
Subject: [Python-3000-checkins] r45611 -
From: python-3000-checkins () python ! org (guido ! van ! rossum)
Date: 2006-04-21 13:45:01
Message-ID: 20060421134501.7EA201E400B () bag ! python ! org
[Download RAW message or body]
Author: guido.van.rossum
Date: Fri Apr 21 15:45:00 2006
New Revision: 45611
Modified:
python/branches/p3yk/Lib/xmlrpclib.py
Log:
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.
Modified: python/branches/p3yk/Lib/xmlrpclib.py
==============================================================================
--- python/branches/p3yk/Lib/xmlrpclib.py (original)
+++ python/branches/p3yk/Lib/xmlrpclib.py Fri Apr 21 15:45:00 2006
@@ -749,6 +749,8 @@
# 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.
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic