[issue38884] __import__ is not thread-safe on Python 3
Ryan Petrello
report at bugs.python.org
Wed Feb 26 17:09:39 EST 2020
Ryan Petrello <ryan at ryanpetrello.com> added the comment:
I believe I'm also encountering some version of this bug while importing code from the kombu library within a multi-threaded context.
For what it's worth, I'm able to reproduce the reported deadlock (https://bugs.python.org/file48737/issue38884.zip) using python3.8 on RHEL8 and CentOS 8 builds.
More details about what I'm encountering here: https://github.com/ansible/awx/issues/5617
https://github.com/ansible/awx/issues/5617#issuecomment-591618205
My intended workaround for now is to just not use a thread (we'll see if it helps):
https://github.com/ansible/awx/pull/6093
----------
nosy: +ryan.petrello
_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue38884>
_______________________________________
More information about the Python-bugs-list
mailing list