From: Brett Cannon Date: Sun, 29 Jul 2007 02:56:27 +0000 (+0000) Subject: Expat parser no longer has a returns_unicode attribute since everything is X-Git-Tag: v3.0a1~563 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=d38d078566c7aaf9c9f2cf65abc9bfe106187ba5;p=python Expat parser no longer has a returns_unicode attribute since everything is Unicode now. --- diff --git a/Lib/xmlrpclib.py b/Lib/xmlrpclib.py index 9a345ae8f0..2b3f1db557 100644 --- a/Lib/xmlrpclib.py +++ b/Lib/xmlrpclib.py @@ -485,8 +485,6 @@ else: parser.EndElementHandler = target.end parser.CharacterDataHandler = target.data encoding = None - if not parser.returns_unicode: - encoding = "utf-8" target.xml(encoding, None) def feed(self, data):