This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author ethan.furman
Recipients Maciej Gol, brett.cannon, eric.snow, ethan.furman, lars.gustaebel, ncoghlan, serhiy.storchaka
Date 2020-01-24.17:51:45
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1579888305.18.0.210828962986.issue39430@roundup.psfhosted.org>
In-reply-to
Content
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.
History
Date User Action Args
2020-01-24 17:51:45ethan.furmansetrecipients: + ethan.furman, brett.cannon, ncoghlan, lars.gustaebel, eric.snow, serhiy.storchaka, Maciej Gol
2020-01-24 17:51:45ethan.furmansetmessageid: <1579888305.18.0.210828962986.issue39430@roundup.psfhosted.org>
2020-01-24 17:51:45ethan.furmanlinkissue39430 messages
2020-01-24 17:51:45ethan.furmancreate