[Python-Dev] PEP 273: Import Modules from Zip Archives

Jeremy Hylton jeremy@zope.com
Wed, 31 Oct 2001 14:48:29 -0500 (EST)


>>>>> "FL" == Fredrik Lundh <fredrik@pythonware.com> writes:

  FL> can anyone explain why I shouldn't be allowed to ship, say,
  FL> PIL's Python code in a version-independent ZIP file?

Excellent point!

We ought to collect some requirements/goals for the ZIP import stuff.
The current draft of the PEP is a little thin on motivation.

Requirement: A ZIP archive be usable any version of Python that
supports ZIP-based imports.

It might also be nice to have a imputil- or ihook-based importer that
works with older versions of Python.  

Jeremy