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

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


"GW" == Greg Ward <gward@python.net> writes:

GW> Here's an idea that would apply to importing *.py whether inside GW> ZIP files or not: if unable to write the .pyc, write a warning GW> to stderr.

This is exactly what the interpreter does when run with -v. If you load a .py file and can't write the .pyc -- say you don't have write permission in the directory -- it prints a warning to stderr.

+1 on ZIP import doing the same thing

Jeremy