[issue13297] xmlrpc.client could accept bytes for input and output
Florent Xicluna
report at bugs.python.org
Thu Nov 10 09:31:39 CET 2011
Florent Xicluna <florent.xicluna at 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 `xmlrpc.client.DateTime` for date objects.
Becomes obsolete, if this change is done:
- xmlrpc.client.Binary
- xmlrpc.client.DateTime
- use_datetime flag of `ServerProxy` class and `loads` function
I'm not sure it's necessary to deprecate things here.
----------
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue13297>
_______________________________________
More information about the Python-bugs-list
mailing list