On Wed, 2006-04-26 at 10:41 +0200, Dirk Meyer wrote:
> > stat the directory and not all the regular files underneath it. It only
> > needs to stat all the regular files if the mtime on the dir has changed.
Right, right. Please ignore the man behind the curtain.
I was thinking of listdir(), which can avoid if the mtime on the dir
hasn't changed. Do you already do that? If not it's not a big deal
really, as os.listdir is pretty fast.