diff options
author | Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> | 2020-01-24 20:10:42 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-01-24 20:10:42 (GMT) |
commit | ea4a61fec842c94107eef46e5030b89a086f94bb (patch) | |
tree | 079b85b3e17967c472cee63081a68d30041e7f28 /Python/hamt.c | |
parent | 0ea7309927d1b3efde9be986528b8855f0f4c955 (diff) | |
download | cpython-ea4a61fec842c94107eef46e5030b89a086f94bb.zip cpython-ea4a61fec842c94107eef46e5030b89a086f94bb.tar.gz cpython-ea4a61fec842c94107eef46e5030b89a086f94bb.tar.bz2 |
bpo-39430: Fix race condition in lazy imports in tarfile. (GH-18161)
Use `from ... import ...` to ensure module is fully loaded before accessing its attributes.
(cherry picked from commit 9017e0bd5e124ae6d2ed94b9e9cacb2e86270980)
Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
Diffstat (limited to 'Python/hamt.c')
0 files changed, 0 insertions, 0 deletions