bpo-30814: Fixed a race condition when import a submodule from a package. (#2580)

7 files changed