[issue6380] Deadlock during the "import" in the fork()'ed child process if fork() happened while import_lock was held

Brett Cannon report at bugs.python.org
Sat Apr 14 18:39:42 CEST 2012


Brett Cannon <brett at python.org> added the comment:

Just to answer Greg's question, importlib uses a context manager to manage the import lock so as long as that surfaces the right thing in a fork then things will be fine.

----------

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


More information about the Python-bugs-list mailing list