[issue22087] _UnixDefaultEventLoopPolicy should either create a new loop or explicilty fail when get_event_loop() is called from a multiprocessing child process

Dan O'Reilly report at bugs.python.org
Sun Jul 27 18:09:53 CEST 2014


Dan O'Reilly added the comment:

I've added a unit test that spawns a new forked process via multiprocessing, and verifies that the loop returned by get_event_loop is not the same as the one we have in the parent.

----------
Added file: http://bugs.python.org/file36134/handle_mp_unix_with_test.diff

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


More information about the Python-bugs-list mailing list