Dec. 3, 2002
7:29 p.m.
1. Your import hooks seem to act at a level "above" sys.path, in the sense that the normal sys.path search becomes just another hook. With that in mind, I don't see a way for a user to add a zipfile in the *middle* of sys.path.
It is worth to notice that Jython 2.1 already implement more or less PEP 273 approach, allowing to add zipfiles to sys.path.
I'd be disappointed if adding zipfiles to sys.path wasn't possible. After all that's what PEP 273 says. --Guido van Rossum (home page: http://www.python.org/~guido/)