Davin Potts added the comment:

Attached is a proposed patch for the 2.7 branch.

It provides 2 changes to the documentation:
1) Moves the warning text block regarding synchronization functionality not 
necessarily being available on all systems to the "Synchronization between 
processes" section (Section 16.6.1.3 in the 2.7 docs).
2) Adds a paragraph introducing (in the affirmative tone) a good/common 
practice as shown in a working example to drive home the key point about 
importability by subprocesses.  The original example of what not to do has been 
preserved by moving it to the "Using a pool of workers" section (Section 
16.6.1.5 in the 2.7 docs).

Note that this patch does not attempt to resolve the issue of :class:`Pool` not 
being resolved by Sphinx to properly point at the multiprocessing.pool.Pool 
class description.  This issue appears addressed in the 3.4 docs but not in 
some other branches.

----------
keywords: +patch
Added file: http://bugs.python.org/file37290/multiprocessing_27.patch

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

Reply via email to