summaryrefslogtreecommitdiffstats
path: root/Doc
diff options
context:
space:
mode:
authorRaymond Hettinger <python@rcn.com>2007-11-07 01:13:09 (GMT)
committerRaymond Hettinger <python@rcn.com>2007-11-07 01:13:09 (GMT)
commit12e94200c0b12487e129ce7e325d9315c12ca88a (patch)
tree0cbe02ff1f2a163d2e2c3c2cfb496f73e8c108e7 /Doc
parent9b847b432cda06cb1c1fd58a46efb7f0eca1cad1 (diff)
downloadcpython-12e94200c0b12487e129ce7e325d9315c12ca88a.zip
cpython-12e94200c0b12487e129ce7e325d9315c12ca88a.tar.gz
cpython-12e94200c0b12487e129ce7e325d9315c12ca88a.tar.bz2
Fix marshal's incorrect handling of subclasses of builtin types (backport candidate).
Diffstat (limited to 'Doc')
-rw-r--r--Doc/library/marshal.rst6
1 files changed, 0 insertions, 6 deletions
diff --git a/Doc/library/marshal.rst b/Doc/library/marshal.rst
index 19a56d7..4f5b16a 100644
--- a/Doc/library/marshal.rst
+++ b/Doc/library/marshal.rst
@@ -45,12 +45,6 @@ themselves supported; and recursive lists and dictionaries should not be written
(they will cause infinite loops).
.. warning::
-
- Some unsupported types such as subclasses of builtins will appear to marshal
- and unmarshal correctly, but in fact, their type will change and the
- additional subclass functionality and instance attributes will be lost.
-
-.. warning::
On machines where C's ``long int`` type has more than 32 bits (such as the
DEC Alpha), it is possible to create plain Python integers that are longer