[Python-checkins] commit of r41822 - python/trunk/Doc/lib/libpickle.tex
reinhold.birkenfeld
python-checkins at python.org
Tue Dec 27 00:27:52 CET 2005
Author: reinhold.birkenfeld
Date: Tue Dec 27 00:27:49 2005
New Revision: 41822
Modified:
python/trunk/Doc/lib/libpickle.tex
Log:
Bug #839075: document that highly recursive data cannot be pickled
Modified: python/trunk/Doc/lib/libpickle.tex
==============================================================================
--- python/trunk/Doc/lib/libpickle.tex (original)
+++ python/trunk/Doc/lib/libpickle.tex Tue Dec 27 00:27:49 2005
@@ -372,6 +372,10 @@
Attempts to pickle unpicklable objects will raise the
\exception{PicklingError} exception; when this happens, an unspecified
number of bytes may have already been written to the underlying file.
+Trying to pickle a highly recursive data structure may exceed the
+maximum recursion depth, a \exception{RuntimeError} will be raised
+in this case. You can carefully raise this limit with
+\function{sys.setrecursionlimit()}.
Note that functions (built-in and user-defined) are pickled by ``fully
qualified'' name reference, not by value. This means that only the
More information about the Python-checkins
mailing list