[New-bugs-announce] [issue23734] zipimport should not check pyc timestamps against zipped py files
Gregory P. Smith
report at bugs.python.org
Sat Mar 21 19:59:07 CET 2015
New submission from Gregory P. Smith:
The zipimport module checks the timestamp of a pyc file loaded from the zip file against the timestamp of a corresponding py file in the zip if any. This seems pointless. By the time someone has created a zip file for zipimport they should have guaranteed that the pyc's are fresh or not have put them into the zip file at all (wasteful).
There is a comment in the code alluding to this, but the mtime check is still done right above.
components: Extension Modules
title: zipimport should not check pyc timestamps against zipped py files
versions: Python 3.5
Python tracker <report at bugs.python.org>
More information about the New-bugs-announce