mirror of
https://github.com/python/cpython.git
synced 2025-08-04 08:59:19 +00:00
Add deprecation notice to statcache.
This commit is contained in:
parent
67bd68392c
commit
d9272d6f11
1 changed files with 6 additions and 0 deletions
|
@ -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.
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue