[issue19216] stat cache for import bootstrap

Eric Snow report at bugs.python.org
Sat Oct 19 23:12:26 CEST 2013


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 <report at bugs.python.org>
<http://bugs.python.org/issue19216>
_______________________________________


More information about the Python-bugs-list mailing list