[issue14067] Avoid more stat() calls in importlib

Jim Jewett report at bugs.python.org
Mon Feb 27 01:46:14 CET 2012


Jim Jewett <jimjjewett at gmail.com> added the comment:

As long as the interpreter knows about about files that *it* wrote, no repeat checks during startup seems utterly reasonable; sneaking in a new or changed file is inherently a race condition.

I think it would also be reasonable for general use, so long as there was also a way to say "for this particular directory, always check".

----------
nosy: +Jim.Jewett

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


More information about the Python-bugs-list mailing list