I have some functions that interactively load python modules using __import__
__import__
I recently stumbled upon some article about an \"import lock\" in Python,
I could not find an answer in official documentation on this but it appears that in some versions of CPython 3.x, __import__ calls are not thread-safe, and can cause a deadlock. See: https://bugs.python.org/issue38884.