[Python-Dev] making the import machinery explicit (original) (raw)
Paul Moore p.f.moore at gmail.com
Sat Apr 14 23:27:56 CEST 2012
- Previous message: [Python-Dev] making the import machinery explicit
- Next message: [Python-Dev] making the import machinery explicit
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
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.metapath gets a path finder that does the heavy lifting for import and sys.pathhooks 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.
- Previous message: [Python-Dev] making the import machinery explicit
- Next message: [Python-Dev] making the import machinery explicit
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]