[Python-Dev] statcache.lstat? (original) (raw)

Skip Montanaro skip@pobox.com (Skip Montanaro)
Wed, 31 Oct 2001 16:34:17 -0600


>> Does this (untested) code make sense as a possible addition to
>> statcache? 

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.

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

Skip