[docs] [issue27221] multiprocessing documentation is outdated regarding method picklability

Berker Peksag report at bugs.python.org
Sun Jun 12 04:49:05 EDT 2016


Berker Peksag added the comment:

Actually, we can remove the versionchanged directive. The attached script works fine with the spawn start method in Python 3.4.

I will commit the following version:

    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.

----------
Added file: http://bugs.python.org/file43358/mm.py

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue27221>
_______________________________________


More information about the docs mailing list