[issue17330] Check st_nlink in addition to st_mtime to invalidate FileFinder cache
Antoine Pitrou
report at bugs.python.org
Fri Mar 1 20:06:38 CET 2013
Antoine Pitrou added the comment:
Well, importlib.invalidate_caches() is not a workaround, it's really the right way to solve your issue (for example if instead of writing a new module, you modify an existing one: st_nlink will then remain the same).
----------
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue17330>
_______________________________________
More information about the Python-bugs-list
mailing list