Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 10acc8f

Browse files
author
Skip Montanaro
committed
added note that xmlrpclib won't marshal instances of subclasses of the
builtin types
1 parent c08fe82 commit 10acc8f

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

Doc/lib/libxmlrpclib.tex

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,9 @@ \section{\module{xmlrpclib} --- XML-RPC client access}
5858
This is the full set of data types supported by XML-RPC. Method calls
5959
may also raise a special \exception{Fault} instance, used to signal
6060
XML-RPC server errors, or \exception{ProtocolError} used to signal an
61-
error in the HTTP/HTTPS transport layer.
61+
error in the HTTP/HTTPS transport layer. Note that even though starting
62+
with Python 2.2 you can subclass builtin types, the xmlrpclib module
63+
currently does not marshal instances of such subclasses.
6264

6365
When passing strings, characters special to XML such as \samp{<},
6466
\samp{>}, and \samp{\&} will be automatically escaped. However, it's

0 commit comments

Comments
 (0)