Erik Bray added the comment:

Put another way, the cache associated with a FileFinder only keeps track of the 
filenames in a directory, and not their individual mtimes.  So if a new file is 
added to the directory the cache should be invalided.  Likewise if a file is 
removed.

If a file is modified or removed and a new file with the same name subsequently 
added this is irrelevant to the cache.  Importing that module will still 
succeed if it hasn't already been imported.  If that module's file is *not* in 
the cache then an ImportError is raised.

----------

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue17330>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to