[issue13297] xmlrpc.client could accept bytes for input and output

2011-11-15 Thread Roundup Robot
Roundup Robot added the comment: New changeset 0175883d9513 by Florent Xicluna in branch 'default': Closes #13297: use bytes type to send and receive binary data through XMLRPC. http://hg.python.org/cpython/rev/0175883d9513 -- nosy: +python-dev resolution: -> fixed stage: patch review

[issue13297] xmlrpc.client could accept bytes for input and output

2011-11-12 Thread Florent Xicluna
Florent Xicluna added the comment: Thank you for your comments. Uploaded a new version. -- Added file: http://bugs.python.org/file23665/issue13297_xmlrpc_bytes_v4.diff ___ Python tracker __

[issue13297] xmlrpc.client could accept bytes for input and output

2011-11-12 Thread Éric Araujo
Éric Araujo added the comment: I made comments on Rietveld but there was a glitch, I’m not sure the email was sent. -- nosy: +eric.araujo ___ Python tracker ___ ___

[issue13297] xmlrpc.client could accept bytes for input and output

2011-11-10 Thread Florent Xicluna
Florent Xicluna added the comment: This patch v3 implements the proposal of use_builtin_types flag. In this case the use_datetime flag becomes obsolete. Please comment. -- Added file: http://bugs.python.org/file23653/issue13297_xmlrpc_bytes_v3.diff

[issue13297] xmlrpc.client could accept bytes for input and output

2011-11-10 Thread Florent Xicluna
Florent Xicluna added the comment: Maybe a flag "use_builtin_types" is preferred? It should implies both `bytes` and `datetime.datetime` are used for presenting data received. I don't see a use case where we would like to have `bytes` for binary data but keep `xmlrpc.client.DateTime` for date

[issue13297] xmlrpc.client could accept bytes for input and output

2011-11-09 Thread Florent Xicluna
Florent Xicluna added the comment: Ooops wrong patch. -- Added file: http://bugs.python.org/file23649/issue13297_xmlrpc_bytes_v2.diff ___ Python tracker ___

[issue13297] xmlrpc.client could accept bytes for input and output

2011-11-09 Thread Florent Xicluna
Changes by Florent Xicluna : Removed file: http://bugs.python.org/file23648/issue13291_xmlrpc_v2.diff ___ Python tracker ___ ___ Python-bugs-l

[issue13297] xmlrpc.client could accept bytes for input and output

2011-11-09 Thread Florent Xicluna
Florent Xicluna added the comment: Updated with documentation. -- nosy: +effbot, fdrake, skip.montanaro Added file: http://bugs.python.org/file23648/issue13291_xmlrpc_v2.diff ___ Python tracker ___

[issue13297] xmlrpc.client could accept bytes for input and output

2011-10-30 Thread Florent Xicluna
Changes by Florent Xicluna : -- keywords: +patch stage: -> patch review Added file: http://bugs.python.org/file23564/issue13297_xmlrpc_bytes.diff ___ Python tracker ___

[issue13297] xmlrpc.client could accept bytes for input and output

2011-10-30 Thread Florent Xicluna
New submission from Florent Xicluna : Since Python 3 makes clear the distinction between bytes and string, there is no more reason to use the xmlrpc.client.Binary wrapper for binary objects. The xmlrpc library may deal with bytes and bytearray normally. To support backward compatibility, the Se