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 brett.cannon
Recipients brett.cannon
Date 2021-03-20.20:04:50
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1616270690.68.0.375632232283.issue42137@roundup.psfhosted.org>
In-reply-to
Content
Should try to use __spec__ first, but if it isn't set then fall back on module_repr() and raise an ImportWarning. See Lib/importlib/_bootstrap.py:_module_repr.
History
Date User Action Args
2021-03-20 20:04:50brett.cannonsetrecipients: + brett.cannon
2021-03-20 20:04:50brett.cannonsetmessageid: <1616270690.68.0.375632232283.issue42137@roundup.psfhosted.org>
2021-03-20 20:04:50brett.cannonlinkissue42137 messages
2021-03-20 20:04:50brett.cannoncreate