Author: brett.cannon
Date: Sun Jul 29 04:56:27 2007
New Revision: 56609
Modified:
python/branches/py3k-struni/Lib/xmlrpclib.py
Log:
Expat parser no longer has a returns_unicode attribute since everything is
Unicode now.
Modified: python/branches/py3k-struni/Lib/xmlrpclib.py
==============================================================================
--- python/branches/py3k-struni/Lib/xmlrpclib.py (original)
+++ python/branches/py3k-struni/Lib/xmlrpclib.py Sun Jul 29 04:56:27 2007
@@ -485,8 +485,6 @@
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):
_______________________________________________
Python-3000-checkins mailing list
[email protected]
http://mail.python.org/mailman/listinfo/python-3000-checkins