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 eric.snow
Recipients Arfrever, brett.cannon, eric.snow, ncoghlan
Date 2014-12-17.01:33:49
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1418780031.09.0.189198849531.issue23014@psf.upfronthosting.co.za>
In-reply-to
Content
@Nick

As long as those esoteric cases can be handled without much work via create_module and exec_module, we should have a goal in mind for yanking legacy load_module support.  If there are valid use cases that can't be handled via PEP 451 then I'd say we should consider finding a better way.  If Loader.load_module is that better way then we need to consider a better way to handle it.

What cases do you have in mind that only load_module handles (at least easily)?  I can vaguely imagine the circumstances, but nothing concrete comes to mind.  It doesn't seem like the sort of situation that has come up more that a handful of times nor one the currently couldn't be addressed in another way.  I'm probably missing something here and I wouldn't be surprised if we discussed this point during the PEP 451 discussions. :)
History
Date User Action Args
2014-12-17 01:33:51eric.snowsetrecipients: + eric.snow, brett.cannon, ncoghlan, Arfrever
2014-12-17 01:33:51eric.snowsetmessageid: <1418780031.09.0.189198849531.issue23014@psf.upfronthosting.co.za>
2014-12-17 01:33:51eric.snowlinkissue23014 messages
2014-12-17 01:33:49eric.snowcreate