added note that xmlrpclib won't marshal instances of subclasses of the

builtin types
This commit is contained in:
Skip Montanaro 2002-03-17 23:15:02 +00:00
parent c08fe82b32
commit 10acc8f9e2
1 changed files with 3 additions and 1 deletions

View File

@ -58,7 +58,9 @@ Python type):
This is the full set of data types supported by XML-RPC. Method calls This is the full set of data types supported by XML-RPC. Method calls
may also raise a special \exception{Fault} instance, used to signal may also raise a special \exception{Fault} instance, used to signal
XML-RPC server errors, or \exception{ProtocolError} used to signal an XML-RPC server errors, or \exception{ProtocolError} used to signal an
error in the HTTP/HTTPS transport layer. error in the HTTP/HTTPS transport layer. Note that even though starting
with Python 2.2 you can subclass builtin types, the xmlrpclib module
currently does not marshal instances of such subclasses.
When passing strings, characters special to XML such as \samp{<}, When passing strings, characters special to XML such as \samp{<},
\samp{>}, and \samp{\&} will be automatically escaped. However, it's \samp{>}, and \samp{\&} will be automatically escaped. However, it's