[issue10425] xmlrpclib support for None isn't compliant with XMLRPC
Éric Araujo
report at bugs.python.org
Tue Nov 16 04:27:34 CET 2010
Éric Araujo <merwok at netwok.org> added the comment:
Thanks for the report and patch. You may find the following guidelines useful for your future contributions: http://www.python.org/dev/patches/
I have two questions about the proposed fix. First, this line caught my eye:
if tag.split(':')[1] == 'nil':
It seems wrong to handle a nil element from any namespace the same way. I think namespaces should be supported properly or not at all.
Second point, can you point us to documentation about nil? The Wikipedia article about XML-RPC and http://ontosys.com/xml-rpc/extensions.php agree that nil should not be a child of value, but say nothing about a namespace. If it’s a band-aid for one specific server, I don’t think it’s acceptable.
----------
nosy: +eric.araujo, loewis
versions: +Python 2.7, Python 3.1, Python 3.2 -Python 2.6
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue10425>
_______________________________________
More information about the Python-bugs-list
mailing list