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 brett.cannon
Recipients brett.cannon, gregory.p.smith, pitrou, serhiy.storchaka, twouters
Date 2015-03-22.14:39:12
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1427035152.75.0.993223880049.issue23723@psf.upfronthosting.co.za>
In-reply-to
Content
I haven't thought about how to implement it, let alone document it. As I said, I might simply refactor importlib so that others can at least implement a loader which can do this without having to directly muck with importlib itself. It really depends on how far one would want to go with this.

Otherwise I would add a note in importlib in the appropriate loader(s) that if such-and-such a datetime is specified in the bytecode header then all stat-related staleness checks against the original source is disabled and the only validation is the magic number (since it's cheap and a nice safety check).
History
Date User Action Args
2015-03-22 14:39:12brett.cannonsetrecipients: + brett.cannon, twouters, gregory.p.smith, pitrou, serhiy.storchaka
2015-03-22 14:39:12brett.cannonsetmessageid: <1427035152.75.0.993223880049.issue23723@psf.upfronthosting.co.za>
2015-03-22 14:39:12brett.cannonlinkissue23723 messages
2015-03-22 14:39:12brett.cannoncreate