[New-bugs-announce] [issue32146] multiprocessing freeze_support needed outside win32

Daniel Colascione report at bugs.python.org
Mon Nov 27 05:33:55 EST 2017


New submission from Daniel Colascione <dancol at dancol.org>:

multiprocessing's freeze_support makes freshly-launched subprocesses integrate correctly until the multiprocessing ecosystem even when the main executable is some application binary instead of a Python interpreter. The documentation and code assume that this support is needed only on win32, but it's equally applicable to POSIX systems using the spawn strategy in combination with systems like cx_freeze.

In particular:

1) The special case in context.py's version of freeze_support() for win32 should be removed

2) The semaphore tracker should correctly tickle the freeze support

3) The documentation should be updated to be platform-neutral

----------
components: Library (Lib)
messages: 307043
nosy: dancol
priority: normal
severity: normal
status: open
title: multiprocessing freeze_support needed outside win32
type: behavior
versions: Python 2.7, Python 3.4, Python 3.5, Python 3.6, Python 3.7, Python 3.8

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue32146>
_______________________________________


More information about the New-bugs-announce mailing list