Message238824
| 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:07 | gregory.p.smith | set | recipients:
+ gregory.p.smith |
| 2015年03月21日 18:59:07 | gregory.p.smith | set | messageid: <1426964347.09.0.21067648462.issue23734@psf.upfronthosting.co.za> |
| 2015年03月21日 18:59:07 | gregory.p.smith | link | issue23734 messages |
| 2015年03月21日 18:59:06 | gregory.p.smith | create |
|