[issue14080] Sporadic test_imp failure

Brett Cannon report at bugs.python.org
Sun Feb 26 18:03:20 CET 2012


Brett Cannon <brett at python.org> added the comment:

importlib.invalidate_caches() would become a permanent thing if the directory listdir cache approach stays and importlib gets bootstrapped. But it would be made more general to work for any and all loaders and not be specific to importlib (e.g. 3rd-party importers would also get cleared). It's an unfortunate side-effect of mtime of directories not being granular enough.

----------

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


More information about the Python-bugs-list mailing list