Eric Snow added the comment: Would it be feasible to have an explicit (but private?) flag in importlib indicating stat checking (or even all FS checking) should be disabled, defaulting to True? runpy could set it to False after initializing importlib and then back to True when startup is done.
If that was useful for more than just startup, we could also add a contextmanager for it in importlib.util. ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue19216> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com