[Python-Dev] PEP 273 - Import from Zip Archives

Thomas Heller thomas.heller@ion-tof.com
Thu, 28 Feb 2002 14:57:49 +0100


From: "M.-A. Lemburg" <mal@lemburg.com>
> Thomas Heller wrote:
> > Wouldn't it be the right time now, instead of complicating
> > the builtin import mechanism further, to simplify the builtin
> > import code, and use it as the foundation of a Python coded
> > implementation - imputil, or better Gordon's iu.py, or whatever?
> 
> This would be nice to have, but how do you bootstrap the 
> importer if it's written in Python ?
> 
Have you looked at imputil? It bootstraps itself only from builtin
modules (which may be the only mechanism to be in the core).
Probably everything else, even packages can be implemented outside.
How did ni do it?

Also I think Gordon's rimport and aimport are good ideas.

Thomas