Message388943
Having `test_pkg.test_submodule` be set after your import based on the sequence of imports your example executes is entirely expected and a side-effect of how import is (at least now) designed. So I disagree with the assessment "that nothing here was requested by the user", since imports have side-effects, and one of those is setting submodules as attributes on packages post-import.
Thanks for the report and all the details, Thomas, but I am still going to close this as not a bug. |
|
Date |
User |
Action |
Args |
2021-03-17 17:19:27 | brett.cannon | set | recipients:
+ brett.cannon, eric.smith, kaorihinata |
2021-03-17 17:19:26 | brett.cannon | set | messageid: <1616001566.98.0.842507619819.issue43477@roundup.psfhosted.org> |
2021-03-17 17:19:26 | brett.cannon | link | issue43477 messages |
2021-03-17 17:19:26 | brett.cannon | create | |
|