[Import-SIG] PEP 420 issue: extend_path

Nick Coghlan ncoghlan at gmail.com
Fri May 11 06:50:28 CEST 2012


On Fri, May 11, 2012 at 1:13 PM, Brett Cannon <brett at python.org> wrote:
> But PathFinder is not an importer as it is not a finder *and* a loader:
> http://docs.python.org/dev/glossary.html#term-importer .

In that case, I guess longer phrases like "meta path finder" and "path
hook finder" will be needed in order to distinguish between the two
kinds of finder. While they were always different (the latter didn't
need to accept a path argument to find_module()), that difference
becomes even more pronounced with PEP 420 (where only the latter can
provide the new find_loader() method - the former must still provide
find_module()).

Regards,
Nick.

-- 
Nick Coghlan   |   ncoghlan at gmail.com   |   Brisbane, Australia


More information about the Import-SIG mailing list