[issue6360] Simplify string decoding in xmlrpc.client.

2009-07-21 Thread Alexandre Vassalotti
Alexandre Vassalotti added the comment: Patch committed in r74156 (branches/py3k). -- resolution: -> accepted stage: patch review -> committed/rejected status: open -> closed ___ Python tracker ___

[issue6360] Simplify string decoding in xmlrpc.client.

2009-06-28 Thread Alexandre Vassalotti
Alexandre Vassalotti added the comment: Oops, I forgot to update my client in my last message. The sample trace run should make more sense now. #!/usr/bin/python3.2 # xmlclient.py import xmlrpc.client server_proxy = xmlrpc.client.ServerProxy("http://localhost:8000";) print(server_proxy.print_st

[issue6360] Simplify string decoding in xmlrpc.client.

2009-06-28 Thread Alexandre Vassalotti
Alexandre Vassalotti added the comment: I didn't test the changes extensively. I ran the test suite and the changes seemed to be correct. It is a bit difficult to provide a test case, since the patch shouldn't change how the code currently behave. Nevertheless, here is a simple example: #!/usr

[issue6360] Simplify string decoding in xmlrpc.client.

2009-06-28 Thread Martin v . Löwis
Martin v. Löwis added the comment: Did you try these changes? Can you provide a test case? -- nosy: +loewis ___ Python tracker ___ ___

[issue6360] Simplify string decoding in xmlrpc.client.

2009-06-28 Thread Alexandre Vassalotti
New submission from Alexandre Vassalotti : The following patch tries to improve how xmlrpc.client handles strings. In particular, it simplifies the decoding of strings by keeping them as unicode str. -- files: simplify_xmlrpc_string_decoding.diff keywords: patch messages: 89801 nosy: ale