[Python-Dev] New universal import mechanism ( Re: [Python-checkins] python/dist/src/Python import.c,2.210,2.211)

Guido van Rossum guido@python.org
Mon, 02 Dec 2002 05:37:23 -0500


> I think Python should have a more universal import mechanism , which
> could be done by adding a new C_CUSTOM type to the definitions for
> dynamic loading (importdl.h) , a new struct _customtab to import.h
> and a new function to Python API (import.c).  Then any
> archive,database,internet import architecture could be implemented
> in C extensions without messing with Python core.
> 
> Wiktor Sadowski

No time to review in detail, but +1 on the concept.

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