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 Arfrever, aronacher, brett.cannon, eric.snow, larry, ncoghlan
Date 2014-03-03.11:31:55
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1393846316.39.0.47591282014.issue20839@psf.upfronthosting.co.za>
In-reply-to
Content
Ah, I think I see what may have happened - when we finally switched all the stdlib importers over to PEP 302 (and consistently set __loader__), the pkgutil.get_loader fallback to pkgutil.find_loader stopped being exercised by the test suite (it's currently missing lower level unit tests), and so we missed that it was still calling a deprecated API. (And we don't currently have any CI set up to warn us when coverage of a module goes backwards)

I'll add some new tests to get coverage and change it to use importlib.util.find_spec instead.
History
Date User Action Args
2014-03-03 11:31:56ncoghlansetrecipients: + ncoghlan, brett.cannon, larry, aronacher, Arfrever, eric.snow
2014-03-03 11:31:56ncoghlansetmessageid: <1393846316.39.0.47591282014.issue20839@psf.upfronthosting.co.za>
2014-03-03 11:31:56ncoghlanlinkissue20839 messages
2014-03-03 11:31:55ncoghlancreate