[issue23734] zipimport should not check pyc timestamps against zipped py files

2018-11-13 Thread Gregory P. Smith
Gregory P. Smith added the comment: Correct, this issue was filed before we had the new pyc options (which came out of our September core dev. sprint in 2016 iirc). I'll just close it, the way forward for people using zip files on modern CPython interpreters is to explicitly use the new unch

[issue23734] zipimport should not check pyc timestamps against zipped py files

2018-11-05 Thread Elvis Pranskevichus
Elvis Pranskevichus added the comment: I don't think that breaking the .pyc contract by assumption is a good thing. The desired behavior of never checking the .pyc freshness can be achieved by using unchecked hash-based compilation, or using hash-based compilation and --check-hash-based-pyc

[issue23734] zipimport should not check pyc timestamps against zipped py files

2018-11-05 Thread Elvis Pranskevichus
Change by Elvis Pranskevichus : -- keywords: +patch pull_requests: +9638 stage: -> patch review ___ Python tracker ___ ___ Python-b

[issue23734] zipimport should not check pyc timestamps against zipped py files

2018-09-19 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: zipimport has been rewritten in pure Python (issue25711). -- nosy: +serhiy.storchaka ___ Python tracker ___ ___

[issue23734] zipimport should not check pyc timestamps against zipped py files

2015-08-05 Thread Eric Snow
Changes by Eric Snow : -- nosy: +brett.cannon, eric.snow, ncoghlan, superluser versions: +Python 3.6 -Python 3.5 ___ Python tracker ___ __

[issue23734] zipimport should not check pyc timestamps against zipped py files

2015-03-21 Thread Gregory P. Smith
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 guarantee