[issue41623] What's the by-design behavior when os.fork() is invoked in an asyncio loop?

Guido van Rossum report at bugs.python.org
Mon Aug 24 10:27:18 EDT 2020


Guido van Rossum <guido at python.org> added the comment:

As you,can tell from thencode this by design. The child,must create a new event loop explicitly,ifmitmwants to use asyncio, and all,existing Futures are off limits.

Fork is dangerous. Don't use unless you understand it.

----------
nosy: +gvanrossum
resolution:  -> not a bug
stage:  -> resolved
status: open -> closed

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


More information about the Python-bugs-list mailing list