summaryrefslogtreecommitdiff
path: root/Lib/test/test_posix.py
diff options
context:
space:
mode:
authorVictor Stinner <victor.stinner@gmail.com>2017-07-10 22:52:32 +0200
committerGitHub <noreply@github.com>2017-07-10 22:52:32 +0200
commit4f9a446f3fb42f800e73cd9414dd1eccb3ca4fa7 (patch)
tree2fcee0a8915be2eee63c1856e8a1147fa1fd4a4b /Lib/test/test_posix.py
parentb136f11f3a51f9282ae992bac68f170ca5563b55 (diff)
downloadcpython-git-4f9a446f3fb42f800e73cd9414dd1eccb3ca4fa7.tar.gz
bpo-30891: Fix importlib _find_and_load() race condition (#2646)
* Rewrite importlib _get_module_lock(): it is now responsible to hold the imp lock directly. * _find_and_load() now holds the module lock to check if name is in sys.modules to prevent a race condition
Diffstat (limited to 'Lib/test/test_posix.py')
0 files changed, 0 insertions, 0 deletions