Brett Cannon <br...@python.org> added the comment:

Just to fill you in, the discussion centred on the idea of doing a listdir() of 
the directory the FileFinder was in charge of watching and caching that. Then, 
when it had to look up a file all it had to do was stat the directory to look 
for a change before it simply looked at a frozenset of directory contents. That 
does away with having to stat for every file type (directory, module, 
extension, etc.) and replaces it with one upfront listdir() and then a single 
directory stat per lookup.

----------

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

Reply via email to