[Python-Dev] Write All New Import Hooks (PEP 302) in Python, Not C

Guido van Rossum guido@python.org
Mon, 30 Dec 2002 16:12:00 -0500


I should mention that I'm about to approve Just's additions to
import.c and very close to approving his zipimport.c, so you can
expect his checkins soon.  This means that sys.meta_path,
sys.path_hooks, and sys.path_importer_cache are new ways of hooking
import.  We can continue the discussion after 2.3a1 is released -- API
changes are okay during alpha testing.  I should note that a package's
__path__ continues to exist with semantics pretty close to what they
were; I am striving for Jython compatibility here.

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