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 2013-12-13.07:30:16
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1386919820.52.0.37464318801.issue19944@psf.upfronthosting.co.za>
In-reply-to
Content
Nick: that sounds good to me.  I like the idea of find_spec() being the same as import_module(), minus actually loading the module.

In that spirit, here's a rough patch that accomplishes that.  It refactors things a bit to get there.  Considering where we are in the release cycle, I'd rather punt on a proper rendition like this this until 3.5.  In the meantime we could duplicate some code for the sake of find_spec() in the 3.4 timeframe.
History
Date User Action Args
2013-12-13 07:30:21eric.snowsetrecipients: + eric.snow, brett.cannon, ncoghlan, Arfrever
2013-12-13 07:30:20eric.snowsetmessageid: <1386919820.52.0.37464318801.issue19944@psf.upfronthosting.co.za>
2013-12-13 07:30:20eric.snowlinkissue19944 messages
2013-12-13 07:30:16eric.snowcreate