Re: PEP 420 issue: extend_path
Nick Coghlan <[email protected]>
| Newsgroups | gmane.comp.python.import |
|---|---|
| Message-ID | <CADiSq7dv9_HsrJ1d+tWfArFPFbxut+f0W=VgqggTgQ8hpAX37w@mail.gmail.com> |
On Fri, May 11, 2012 at 1:13 PM, Brett Cannon <[email protected]> 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 | [email protected] | Brisbane, Australia