[Distutils] extensions in packages

Greg Stein gstein@lyra.org
Thu, 27 May 1999 03:00:07 -0700


M.-A. Lemburg wrote:
>...
> Anyway, the dynamic and static versions are both implementable
> using the hook, so I'd opt for going into that direction
> rather than hard-wiring some logic into the interpreters core.

IMO, the interpreter core should perform as little searching as
possible. Basically, it should only contain bootstrap stuff. It should
look for a standard importing module and load that. After it is loaded,
the import mechanism should defer to Python for all future imports. (the
cost of running Python code is minimal against the I/O used by the
import)

IMO #2, the standard importing module should operate along the lines of
imputil.py.

Cheers,
-g

--
Greg Stein, http://www.lyra.org/