[Import-sig] imputil with only .pyc files

Guido van Rossum guido@python.org
Fri, 26 Jul 2002 16:52:01 -0400


> I've been using imputil as the base for importing python modules over
> http.  I've noticed that the builtin importer imputil.BuiltinImporter
> doesn't import .pyc files if there is no corresponding .py file.  I've
> added my own suffix handler for just .pyc files, but I'm wondering if
> this is a bug or a feature?

Sounds like a feature that's become a bug. :-(

> We're using python on the ipaqs, so we've deleted the .py files to
> save space.

Of course.

Can you submit a patch to sourceforge?

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