[Python-Dev] PEP 273: Import Modules from Zip Archives (original) (raw)

Fredrik Lundh fredrik@pythonware.com
Wed, 31 Oct 2001 20:37:18 +0100


Greg wrote:

> Did we decide to allow import of *.py? Here's an idea that would apply to importing *.py whether inside ZIP files or not: if unable to write the .pyc, write a warning to stderr. That'll be useful to people who inadvertently put .py files without .pyc in a ZIP file

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