Patches item #1618485, was opened at 2006-12-19 01:01 Message generated for change (Tracker Item Submitted) made by Item Submitter You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=305470&aid=1618485&group_id=5470
Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: Library (Lib) Group: Python 2.4 Status: Open Resolution: None Priority: 5 Private: No Submitted By: Maximiliano Curia (maxy) Assigned to: Nobody/Anonymous (nobody) Summary: add None values in SimpleXMLRPCServer Initial Comment: Using SimpleXMLRPCServer I've been having some problems when trying to use "None" values. Apparently it uses a "dumps" function from xmlrpclib to generate the response. This function does support "None" values, but needs an extra parameter to allow them. The patch attached adds a new parameter (allow_none) to the constructor of SimpleXMLRPCServer, that when set is passed to the xmlrpclib.dumps call. This fixes the problem in a consistent way with the usage of xmlrpclib. It might be a better solution to support "None" values by default in SimpleXMLRPCServer and xmlrpclib. The patch is for python 2.4, but should probably be ported to 2.5 and 2.6. Thanks. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=305470&aid=1618485&group_id=5470 _______________________________________________ Patches mailing list Patches@python.org http://mail.python.org/mailman/listinfo/patches