New submission from Memeplex:

The module documentation recommends...

More picklability

Ensure that all arguments to 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.

...but methods (bound and unbound) are now pickleable (given their self.object 
is picklable).

----------
assignee: docs@python
components: Documentation
messages: 267303
nosy: docs@python, memeplex
priority: normal
severity: normal
status: open
title: [multiprocessing] Doc is outdated regarding method picklability
versions: Python 3.5

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue27221>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to