Following [6046], I've put some effort into also normalizing the result with a check and transformation of output before it is passed on. This simplifies many methods in that they do not have to worry about so many things.
One of the effects of this patch is that None
objects will never be passed out, instead converted to empty string. Also, it converts datetime
objects to xmlrpclib.DateTime
objects so that all methods should just use and return regular datetime objects as part of result.
Could anyone with more extensive use-cases than mine test this patch, and see that it actually returns sensible data across various calls?
BTW: The revision in the patch name is wrong - apply on top of r6046 or later.