[issue17101] __main__.py Multiprocessing on Windows

STINNER Victor report at bugs.python.org
Tue Sep 24 06:41:04 EDT 2019


STINNER Victor <vstinner at python.org> added the comment:

> Is it possible to backport the fix from #10845 to 2.7?  Is it actually worth doing?

I close the issue, it has been done in 2015:

commit 2a6c2c9baa4bef29d605438c3e2ada01a240bdc3
Author: Nick Coghlan <ncoghlan at gmail.com>
Date:   Thu Nov 19 12:59:39 2015 +1000

    Close #10128: don't rerun __main__.py in multiprocessing
    
    - backports issue #10845's mitigation of incompatibilities between
      the multiprocessing module and directory and zipfile execution
    - Multiprocessing on Windows will now automatically skip rerunning top
      level __main__.py modules in spawned processes, rather than failing
      with AssertionError

----------
nosy: +vstinner
resolution:  -> fixed
stage:  -> resolved
status: open -> closed

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


More information about the Python-bugs-list mailing list