A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://mail.python.org/pipermail/python-dev/2001-October/018286.html below:

Import Modules from Zip Archives

[Python-Dev] PEP 273: Import Modules from Zip Archives [Python-Dev] PEP 273: Import Modules from Zip ArchivesJeremy 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




RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4