Thomas J. Gallen added the comment:
Given the previous example, in test.py, replace:
```
print(test_module.test_submodule)
```
...with:
```
assert(not hasattr(test_module, "test_submodule"))
```
...because the issue is only the bottom half of `_find_and_load_unlocked`.
Specifi
Thomas J. Gallen added the comment:
parent module* rather. Just saw that typo.
--
___
Python tracker
<https://bugs.python.org/issue43477>
___
___
Python-bug
Thomas J. Gallen added the comment:
Yes, a package. There isn't actually that much in the txz. Most of the files
are ostensibly empty.
As an example, let's say we have the following files:
test.py
test_module/__init__.py
test_module/test_submodule.py
test.py contains:
```pyt