Message380617
An __init__.py shouldn't be necessary. If I comment out the 'b = lazy_import("foo.b")' line in a.py (i.e. disable the lazy import), then the print statement works correctly as written without any other changes.
Also, I double checked with the colleague who originally ran into this issue, and it turns out he encountered the bug on Linux, not on Mac (still Python 3.8.3). |
|
Date |
User |
Action |
Args |
2020-11-09 21:31:45 | KevKeating | set | recipients:
+ KevKeating, brett.cannon, ncoghlan, eric.snow, epaine |
2020-11-09 21:31:45 | KevKeating | set | messageid: <1604957505.31.0.377617625461.issue42273@roundup.psfhosted.org> |
2020-11-09 21:31:45 | KevKeating | link | issue42273 messages |
2020-11-09 21:31:45 | KevKeating | create | |
|