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 akvadrako
Recipients akvadrako, brett.cannon, eric.snow, ncoghlan
Date 2017-10-12.20:04:58
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1507838698.38.0.213398074469.issue31772@psf.upfronthosting.co.za>
In-reply-to
Content
Hello Brett, it would be nice if you would discuss this before closing. The referenced PEP will not solve my use case, because hash-based checking will not become the default.

The issue is that by default the source file loader will be returning stale bytecode and that's incorrect behavior.

If you wish to avoid the stat call you could use a higher resolution timestamp in the pyc file, or better yet add a second field indicating bytecode compilation time.
History
Date User Action Args
2017-10-12 20:04:58akvadrakosetrecipients: + akvadrako, brett.cannon, ncoghlan, eric.snow
2017-10-12 20:04:58akvadrakosetmessageid: <1507838698.38.0.213398074469.issue31772@psf.upfronthosting.co.za>
2017-10-12 20:04:58akvadrakolinkissue31772 messages
2017-10-12 20:04:58akvadrakocreate