This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author luchenue
Recipients luchenue
Date 2011-10-30.12:55:54
SpamBayes Score 0.1430052
Marked as misclassified No
Message-id <1319979355.49.0.42965800698.issue13293@psf.upfronthosting.co.za>
In-reply-to
Content
import xmlrpc.client

server = xmlrpc.client.Server('XXX')
print(server.login(b'bHVjaGVudWU=',b'bHVjaGVudWU='))

=> xmlrpc.client 
def dump_string
  write(escape(value))

dispatch[bytes] = dump_string

=>
def escape(s):
    s = s.replace("&", "&amp;")



bytes can't replace
History
Date User Action Args
2011-10-30 12:55:55luchenuesetrecipients: + luchenue
2011-10-30 12:55:55luchenuesetmessageid: <1319979355.49.0.42965800698.issue13293@psf.upfronthosting.co.za>
2011-10-30 12:55:54luchenuelinkissue13293 messages
2011-10-30 12:55:54luchenuecreate