[Python-Dev] New and Improved Import Hooks

Samuele Pedroni pedronis@bluewin.ch
Thu, 5 Dec 2002 16:27:33 +0100


From: "Just van Rossum" <just@letterror.com>
>
>   ["/path/to/archive.zip!packagename"]
>
> So the zip handler will have to do a little more than just checking for a
*.zip
> extension. I assume you do something like it in Jython, too? (I picked up the
> '!' from you I think; it makes it easier/quicker to check for zipness.)

yes at some point we used that, but then we switched to '/' on the other hand
the extesion .zip (or .jar in our case) is mandatory.