diff options
author | Fred Drake <fdrake@acm.org> | 2001-11-02 20:20:19 (GMT) |
---|---|---|
committer | Fred Drake <fdrake@acm.org> | 2001-11-02 20:20:19 (GMT) |
commit | d9272d6f11425e04c4dfe1c4b9c834301e6d6c64 (patch) | |
tree | 8caa0b6d59b7372941fd41a72e88e4a0631e4ff6 /Doc | |
parent | 67bd68392ca87abee732603c358678a037868354 (diff) | |
download | cpython-d9272d6f11425e04c4dfe1c4b9c834301e6d6c64.zip cpython-d9272d6f11425e04c4dfe1c4b9c834301e6d6c64.tar.gz cpython-d9272d6f11425e04c4dfe1c4b9c834301e6d6c64.tar.bz2 |
Add deprecation notice to statcache.
Diffstat (limited to 'Doc')
-rw-r--r-- | Doc/lib/libstatcache.tex | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/Doc/lib/libstatcache.tex b/Doc/lib/libstatcache.tex index 572e8b1..3e7aaa3 100644 --- a/Doc/lib/libstatcache.tex +++ b/Doc/lib/libstatcache.tex @@ -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. |