Add deprecation notice to statcache.

This commit is contained in:
Fred Drake 2001-11-02 20:20:19 +00:00
parent 67bd68392c
commit d9272d6f11
1 changed files with 6 additions and 0 deletions

View File

@ -5,6 +5,12 @@
\sectionauthor{Moshe Zadka}{moshez@zadka.site.co.il}
\modulesynopsis{Stat files, and remember results.}
\deprecated{2.2}{Use \function{\refmodule{os}.stat()} directly instead
of using the cache; the cache introduces a very high level of
fragility in applications using it and complicates application code
with the addition of cache management support.}
The \module{statcache} module provides a simple optimization to
\function{os.stat()}: remembering the values of previous invocations.