[Python-Dev] Write All New Import Hooks (PEP 302) in Python, Not C

Michael Hudson mwh@python.net
28 Dec 2002 14:53:17 +0000


Just van Rossum <just@letterror.com> writes:

> I find this rather ugly, and would only do that if it's crucial that the
> pathless importer should be invoked somewhere in the middle of sys.path.
> And I don't have a use case for that. There are plenty of use cases for
> sys.meta_path.

I've not really been following this discussion with utmost care, but
the name "meta_path" doesn't move me.  Wouldn't sys.importers be
better name?  Or maybe I'm misunderstanding it's intent -- which is
still an argument for a better name.

Cheers,
M.

-- 
  Also, remember to put the galaxy back when you've finished, or an
  angry mob of astronomers will come round and kneecap you with a
  small telescope for littering. 
       -- Simon Tatham, ucam.chat, from Owen Dunn's review of the year