STINNER Victor <victor.stin...@haypocalc.com> added the comment: Here is an example of patch using the following test:
all(32 <= ord(byte) <= 127 for byte in value) I don't know how much slower is the patch, but at least it doesn't raise an "ExpatError: not well-formed (invalid token): ...". ---------- keywords: +patch Added file: http://bugs.python.org/file15961/xmlrpc_byte_string.patch _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue7727> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com