[Python-checkins] cpython (3.5): Issue #27221: Delete an outdated paragraph about pickle support of Process

berker.peksag python-checkins at python.org
Sun Jun 12 05:19:27 EDT 2016


https://hg.python.org/cpython/rev/97254031f0b7
changeset:   101934:97254031f0b7
branch:      3.5
parent:      101932:17e78918f608
user:        Berker Peksag <berker.peksag at gmail.com>
date:        Sun Jun 12 12:19:13 2016 +0300
summary:
  Issue #27221: Delete an outdated paragraph about pickle support of Process

Initial patch by Jelle Zijlstra.

files:
  Doc/library/multiprocessing.rst |  7 +------
  1 files changed, 1 insertions(+), 6 deletions(-)


diff --git a/Doc/library/multiprocessing.rst b/Doc/library/multiprocessing.rst
--- a/Doc/library/multiprocessing.rst
+++ b/Doc/library/multiprocessing.rst
@@ -2723,12 +2723,7 @@
 
 More picklability
 
-    Ensure that all arguments to :meth:`Process.__init__` are
-    picklable.  This means, in particular, that bound or unbound
-    methods cannot be used directly as the ``target`` (unless you use
-    the *fork* start method) --- just define a function and use that
-    instead.
-
+    Ensure that all arguments to :meth:`Process.__init__` are picklable.
     Also, if you subclass :class:`~multiprocessing.Process` then make sure that
     instances will be picklable when the :meth:`Process.start
     <multiprocessing.Process.start>` method is called.

-- 
Repository URL: https://hg.python.org/cpython


More information about the Python-checkins mailing list