[issue23723] Provide a way to disable bytecode staleness checks

Brett Cannon report at bugs.python.org
Fri Mar 18 16:31:37 EDT 2016


Brett Cannon added the comment:

I realized that importlib.abc.SourceLoader.path_stats() provides a way to override stat collection and basically hard-code the stat number for all files from an import perspective. So if people simply generated their bytecode with a static timestamp and overrode this method then they would get the effect they want.

----------
resolution:  -> out of date
stage:  -> resolved
status: open -> closed

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue23723>
_______________________________________


More information about the Python-bugs-list mailing list