Message360635
Thanks, Serhiy! I had no idea of those changes to import.
This does raise the question, though, of whether accessing an empty module's attributes should either:
- wait for the module to finish initializing; or
- raise an exception immediately with better information
?
It seems like this is a trap waiting for anybody using threaded code and on-demand imports. |
|
Date |
User |
Action |
Args |
2020-01-24 17:51:45 | ethan.furman | set | recipients:
+ ethan.furman, brett.cannon, ncoghlan, lars.gustaebel, eric.snow, serhiy.storchaka, Maciej Gol |
2020-01-24 17:51:45 | ethan.furman | set | messageid: <1579888305.18.0.210828962986.issue39430@roundup.psfhosted.org> |
2020-01-24 17:51:45 | ethan.furman | link | issue39430 messages |
2020-01-24 17:51:45 | ethan.furman | create | |
|