[Bug #1164912] Ensure Datetime wrapper class .value attribute is an 8-bit string, not a Unicode string
diff --git a/Lib/xmlrpclib.py b/Lib/xmlrpclib.py
index 069ebcc..6fb6c68 100644
--- a/Lib/xmlrpclib.py
+++ b/Lib/xmlrpclib.py
@@ -388,6 +388,7 @@
         return "<DateTime %s at %x>" % (repr(self.value), id(self))
 
     def decode(self, data):
+        data = str(data)
         self.value = string.strip(data)
 
     def encode(self, out):