summaryrefslogtreecommitdiffstats
path: root/Doc
diff options
context:
space:
mode:
authorMartin v. Löwis <martin@v.loewis.de>2006-11-19 18:51:54 (GMT)
committerMartin v. Löwis <martin@v.loewis.de>2006-11-19 18:51:54 (GMT)
commit07529354dba821ddfa8ee0a14a9302e352eb8173 (patch)
tree48143b330356fc0f25a75dbecbb66e48e8f17740 /Doc
parent9eec51c04ff9d04c74724aa6cd499457b64c75f9 (diff)
downloadcpython-07529354dba821ddfa8ee0a14a9302e352eb8173.zip
cpython-07529354dba821ddfa8ee0a14a9302e352eb8173.tar.gz
cpython-07529354dba821ddfa8ee0a14a9302e352eb8173.tar.bz2
Patch #1070046: Marshal new-style objects like InstanceType
in xmlrpclib.
Diffstat (limited to 'Doc')
-rw-r--r--Doc/lib/libxmlrpclib.tex9
1 files changed, 8 insertions, 1 deletions
diff --git a/Doc/lib/libxmlrpclib.tex b/Doc/lib/libxmlrpclib.tex
index 3645b82..e3caab3 100644
--- a/Doc/lib/libxmlrpclib.tex
+++ b/Doc/lib/libxmlrpclib.tex
@@ -68,7 +68,10 @@ Python type):
\lineii{arrays}{Any Python sequence type containing conformable
elements. Arrays are returned as lists}
\lineii{structures}{A Python dictionary. Keys must be strings,
- values may be any conformable type.}
+ values may be any conformable type. Objects
+ of user-defined classes can be passed in;
+ only their \var{__dict__} attribute is
+ transmitted.}
\lineii{dates}{in seconds since the epoch (pass in an instance of the
\class{DateTime} class) or a
\class{\refmodule{datetime}.datetime},
@@ -100,6 +103,10 @@ described below.
compatibility. New code should use \class{ServerProxy}.
\versionchanged[The \var{use_datetime} flag was added]{2.5}
+
+\versionchanged[Instances of new-style classes can be passed in
+if they have an \var{__dict__} attribute and don't have a base class
+that is marshalled in a special way.}{2.6}
\end{classdesc}