[Python-Dev] making the import machinery explicit

Paul Moore p.f.moore at gmail.com
Sat Apr 14 23:27:56 CEST 2012


On 14 April 2012 21:03, Brett Cannon <brett at python.org> wrote:
> So what I propose to do is stop having import have any kind of implicit
> machinery. This means sys.meta_path gets a path finder that does the heavy
> lifting for import and sys.path_hooks gets a hook which provides a default
> finder.

+1 to your proposal. And thanks for all of your work on importlib - it
makes me very happy to see the ideas Just and I thrashed out in PEP
302 come together fully at last.

Paul.


More information about the Python-Dev mailing list