[Python-Dev] statcache.lstat?

Guido van Rossum guido@python.org
Wed, 31 Oct 2001 17:38:03 -0500


>     Guido> For me, statcache was a failed experiment.  What's the use you
>     Guido> have in mind?  Why can't you use os.lstat() directly?
> 
> I can use os.lstat (or os.stat) directly.  I'm working on a file selector
> widget written in Python (and PyGtk).  As people traverse the directory
> tree, it seems to make sense to cache the stat results.

But why bother?  And why not let them see changes in the filesystem?

> If statcache is indeed a failed experiment, perhaps it should be
> deprecated. 

Fine with me.

--Guido van Rossum (home page: http://www.python.org/~guido/)