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, eric.snow, michaelanckaert, nanjekyejoannah, ncoghlan
Date 2019-08-09.16:50:43
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
If you look at and you will notice a bunch of comments near all the calls to load_module(). Those are the places that should be somehow triggering a DeprecationWarning.

I think there's a compatibility shim function which would need to raise an exception so that anyone who has implemented load_module() as the only way to handle loading get a warning (but I think that requires certain loaders to have appropriate support which hopefully they have already but someone needs to double-check). After that every implementation of load_module() should have a warning.
Date User Action Args
2019-08-09 16:50:43brett.cannonsetrecipients: + brett.cannon, ncoghlan, eric.snow, michaelanckaert, nanjekyejoannah
2019-08-09 16:50:43brett.cannonsetmessageid: <>
2019-08-09 16:50:43brett.cannonlinkissue26131 messages
2019-08-09 16:50:43brett.cannoncreate