This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author gregory.p.smith
Recipients gregory.p.smith
Date 2015-03-21.18:59:06
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1426964347.09.0.21067648462.issue23734@psf.upfronthosting.co.za>
In-reply-to
Content
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).

https://hg.python.org/cpython/file/e8878579eb68/Modules/zipimport.c#l1187

There is a comment in the code alluding to this, but the mtime check is still done right above.
History
Date User Action Args
2015-03-21 18:59:07gregory.p.smithsetrecipients: + gregory.p.smith
2015-03-21 18:59:07gregory.p.smithsetmessageid: <1426964347.09.0.21067648462.issue23734@psf.upfronthosting.co.za>
2015-03-21 18:59:07gregory.p.smithlinkissue23734 messages
2015-03-21 18:59:06gregory.p.smithcreate