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 ncoghlan
Recipients Dubslow, christian.heimes, dstufft, ncoghlan, python-dev, tim.peters
Date 2013-11-25.13:02:53
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1385384573.4.0.450998248539.issue19744@psf.upfronthosting.co.za>
In-reply-to
Content
If the ssl import is actually in a submodule, you may need to list additional subpackages in the "fresh" parameter.

If you're wondering why this isn't in the importlib API - it's because it can go wrong in an impressively large number of ways, and we don't have any hope of documenting it well enough to make it usable by anyone that either: a) couldn't write it themselves; or b) isn't getting coached by someone that could write it themselves.

But when you know what you're doing and the modules involved don't break horribly when treated this way, it's a very neat trick for testing purposes.
History
Date User Action Args
2013-11-25 13:02:53ncoghlansetrecipients: + ncoghlan, tim.peters, christian.heimes, python-dev, Dubslow, dstufft
2013-11-25 13:02:53ncoghlansetmessageid: <1385384573.4.0.450998248539.issue19744@psf.upfronthosting.co.za>
2013-11-25 13:02:53ncoghlanlinkissue19744 messages
2013-11-25 13:02:53ncoghlancreate