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.smith, r.david.murray, xdegaye
Date 2012-11-16.18:56:10
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1353092170.65.0.1238853788.issue16489@psf.upfronthosting.co.za>
In-reply-to
Content
Everything is working as expected; you left out the path argument::

  importlib.find_loader('package.foo', ['package'])

This works the way it does because otherwise we would have to stat every single time from the top level on down and that is extremely costly.
History
Date User Action Args
2012-11-16 18:56:10brett.cannonsetrecipients: + brett.cannon, eric.smith, r.david.murray, xdegaye
2012-11-16 18:56:10brett.cannonsetmessageid: <1353092170.65.0.1238853788.issue16489@psf.upfronthosting.co.za>
2012-11-16 18:56:10brett.cannonlinkissue16489 messages
2012-11-16 18:56:10brett.cannoncreate