Richard Oudkerk added the comment: Shouldn't the import lock be held to make it threadsafe? ---------- _______________________________________ Python tracker <report at bugs.python.org> <http://bugs.python.org/issue17621> _______________________________________