Brian Quinlan added the comment:
I'm closing this since the filer hasn't specified exactly what they want.
--
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue8792
___
Martin v. Löwis mar...@v.loewis.de added the comment:
An addition: It was reported in #10425 that None values are
incorrectly serialized as valuenil//value, instead of just
nil/, or maybe {namespace prefix for extensions defined by
Apache}:nil/.
This is not incorrect, but follows the
Éric Araujo mer...@netwok.org added the comment:
An addition: It was reported in #10425 that None values are incorrectly
serialized as valuenil//value, instead of just nil/, or maybe
{namespace prefix for extensions defined by Apache}:nil/.
--
nosy: +Adam.Bielański, eric.araujo,
Adam Bielański abg...@gmail.com added the comment:
To make example provided by Amaury complete I'll add that in order to support
both ways you also need to replace xmlrpclib.dumps() with code from attached
file.
Changes to original xmlrpclib.dumps() function are outlined with comments. In
Amaury Forgeot d'Arc amaur...@gmail.com added the comment:
It's easy enough to subclass the Transport type and add custom types to the
dispatcher object, see the script below.
Attila, Bhargav, is this solution acceptable to you?
from xmlrpclib import Transport, ServerProxy
class
Martin v. Löwis mar...@v.loewis.de added the comment:
I just noticed that I only need to strip the comma from the URL.
So I now see it's not an Apache bug, but explicitly marked as an extension. So
I'm reclassifying this as a feature request. As a new feature, it can only go
into 3.2.
Bhargav bhar...@bluejeansnet.com added the comment:
What I do is not a possible solution, because some other machine might add
e:nil, what we need is XML namespace parsing.
Also I can't really use my solution, as it makes my client non-portable, I cant
move it from my dev machine to
Martin v. Löwis mar...@v.loewis.de added the comment:
Adding it to 2.7 is really out of the question. Assuming somebody would
implement (which might not happen in the next three years or so), it can only
go into 3.x, so you'ld have to port your code to 3.x to use it.
--