[Python-checkins] CVS: python/dist/src/Doc/lib libstatcache.tex,1.3,1.4

Fred L. Drake fdrake@users.sourceforge.net
2001年11月02日 12:20:21 -0800


Update of /cvsroot/python/python/dist/src/Doc/lib
In directory usw-pr-cvs1:/tmp/cvs-serv19845/lib
Modified Files:
	libstatcache.tex 
Log Message:
Add deprecation notice to statcache.
Index: libstatcache.tex
===================================================================
RCS file: /cvsroot/python/python/dist/src/Doc/lib/libstatcache.tex,v
retrieving revision 1.3
retrieving revision 1.4
diff -C2 -d -r1.3 -r1.4
*** libstatcache.tex	2000年12月01日 15:25:23	1.3
--- libstatcache.tex	2001年11月02日 20:20:19	1.4
***************
*** 6,9 ****
--- 6,15 ----
 \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.

AltStyle によって変換されたページ (->オリジナル) /