[Python-Dev] New and Improved Import Hooks

Guido van Rossum guido@python.org
Fri, 06 Dec 2002 09:32:43 -0500


> > I'm not sure if the two-step approach is a big enough deal to
> > keep it in a new import scheme.
> 
> does anyone remember/know why it was done in two steps?

So you can check whether a module or package exists without importing
it?

For the relative import ambiguity?

--Guido van Rossum (home page: http://www.python.org/~guido/)