[issue18999] Robustness issues in multiprocessing.{get, set}_start_method

Lars Buitinck report at bugs.python.org
Tue Sep 10 23:15:33 CEST 2013


Lars Buitinck added the comment:

In my patched version, the private popen.get_start_method gets a kwarg set_if_needed=True. popen.Popen calls that as before, so its behavior should not change, while the public get_start_method sets the kwarg to False.

I realise now that this has the side effect that get_start_method's output changes when multiprocessing has first been used, but then that reflects how the library works. Maybe this should be documented.

As for the contexts, those would be great.

----------

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


More information about the Python-bugs-list mailing list