[Python-Dev] New Import Hooks PEP, a first draft (and req. for PEP #)

James C. Ahlstrom jim@interet.com
Fri, 20 Dec 2002 16:02:09 -0500


Just van Rossum wrote:

> I didn't change anything there and I sure don't break any code, because
> there's hardly any code out there that expects imp.find_module() to work
> for zip files <0.5 wink>.

Huh?  In my implementation imp.find_module() imp.load_module()
work for zip files.  You mean they don't work to provide access
to data files, right?

>>      find_module(name [, path [, suffixes]])

> I'm not sure if I like this:

Me either, it was just an idea to solve a prominent problem.

> I'll think about this some more, but I'm not yet convinced.

Me too.

JimA