Roundup Robot devn...@psf.upfronthosting.co.za 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
Éric Araujo mer...@netwok.org 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 rep...@bugs.python.org
http://bugs.python.org/issue13297
Florent Xicluna florent.xicl...@gmail.com 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 rep...@bugs.python.org
Florent Xicluna florent.xicl...@gmail.com 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
Florent Xicluna florent.xicl...@gmail.com 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
Florent Xicluna florent.xicl...@gmail.com added the comment:
Updated with documentation.
--
nosy: +effbot, fdrake, skip.montanaro
Added file: http://bugs.python.org/file23648/issue13291_xmlrpc_v2.diff
___
Python tracker rep...@bugs.python.org
Changes by Florent Xicluna florent.xicl...@gmail.com:
Removed file: http://bugs.python.org/file23648/issue13291_xmlrpc_v2.diff
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue13297
___
Florent Xicluna florent.xicl...@gmail.com added the comment:
Ooops wrong patch.
--
Added file: http://bugs.python.org/file23649/issue13297_xmlrpc_bytes_v2.diff
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue13297
New submission from Florent Xicluna florent.xicl...@gmail.com:
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
Changes by Florent Xicluna florent.xicl...@gmail.com:
--
keywords: +patch
stage: - patch review
Added file: http://bugs.python.org/file23564/issue13297_xmlrpc_bytes.diff
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue13297
10 matches
Mail list logo