commit | ea4a61fec842c94107eef46e5030b89a086f94bb | [log] [tgz] |
---|---|---|
author | Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> | Fri Jan 24 12:10:42 2020 -0800 |
committer | GitHub <noreply@github.com> | Fri Jan 24 12:10:42 2020 -0800 |
tree | 079b85b3e17967c472cee63081a68d30041e7f28 | |
parent | 0ea7309927d1b3efde9be986528b8855f0f4c955 [diff] |
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>