A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://mail.python.org/pipermail/python-dev/2001-October/018296.html below:

[Python-Dev] statcache.lstat?

[Python-Dev] statcache.lstat? [Python-Dev] statcache.lstat?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



RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4