11.22.8 Convenience Functions
-
Convert any Python value to one of the XML-RPC Boolean constants,
True
orFalse
.
-
Convert params into an XML-RPC request. or into a response if methodresponse is true. params can be either a tuple of arguments or an instance of the Fault exception class. If methodresponse is true, only a single value can be returned, meaning that params must be of length 1. encoding, if supplied, is the encoding to use in the generated XML; the default is UTF-8. Python's None value cannot be used in standard XML-RPC; to allow using it via an extension, provide a true value for allow_none.
-
Convert an XML-RPC request or response into Python objects, a
(params, methodname)
. params is a tuple of argument; methodname is a string, orNone
if no method name is present in the packet. If the XML-RPC packet represents a fault condition, this function will raise a Fault exception.
See About this document... for information on suggesting changes.