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/2002-December/030981.html below:

[Python-Dev] zipimport, round 3 (or would that be that 37?)

[Python-Dev] zipimport, round 3 (or would that be that 37?)Skip Montanaro skip@pobox.com
Sun, 8 Dec 2002 17:53:24 -0600
    Just> It prefers byte code over source, but ignores the time stamp. That
    Just> *could* be confusing.

Not to mention a change of semantics.  If the .py file is newer than the
.pyc or .pyo files, why not just force compilation but don't save the result
(maybe also toss a Warning)?  Isn't that what importing from a read-only
directory or filesystem does today?  Sure, it would slow things down, but it
would better match the semantics of importing from the filesystem.
Presumably testing before delivery of the zip archive would identify any
time order problems.

Skip



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