[issue39430] tarfile.open(mode="r") race condition when importing lzma

Brett Cannon report at bugs.python.org
Fri Jan 24 12:50:14 EST 2020


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

It's covered in the language reference where import semantics are explained. It isn't explicitly called out in higher-level docs that I'm aware of because it only really comes up in edge cases like importing in a thread which we actively discourage unless there's a compelling reason not to.

----------

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


More information about the Python-bugs-list mailing list