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

Serhiy Storchaka report at bugs.python.org
Fri Jan 24 04:14:16 EST 2020


Serhiy Storchaka <storchaka+cpython at gmail.com> added the comment:

PR 18161 fixes race condition by using "from ... import ..." which waits until the module be completely initialized if the specified names are not set.

----------
components: +Library (Lib)
nosy: +serhiy.storchaka
type: crash -> behavior
versions: +Python 3.8, Python 3.9

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


More information about the Python-bugs-list mailing list