[issue47082] No protection: `import numpy` in two different threads can lead to race-condition

Christian Heimes report at bugs.python.org
Mon Mar 21 18:43:13 EDT 2022


Christian Heimes <lists at cheimes.de> added the comment:

Python used to have a global import lock. The global import lock prevented recursive imports from other threads while the current thread was importing. The import lock was source of issues and dead locks. Antoine replaced it with a fine grained import lock in bpo-9260.

----------
nosy: +christian.heimes

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


More information about the Python-bugs-list mailing list