Added a test for the ability to specify a class attribute in Formatter configuration...
[python.git] / Doc / lib / libcmpcache.tex
blob89914774929e5f0df7886f3d4bb625199eb4a615
1 \section{\module{cmpcache} ---
2 Efficient file comparisons}
4 \declaremodule{standard}{cmpcache}
5 \sectionauthor{Moshe Zadka}{moshez@zadka.site.co.il}
6 \modulesynopsis{Compare files very efficiently.}
8 \deprecated{1.6}{Use the \refmodule{filecmp} module instead.}
10 The \module{cmpcache} module provides an identical interface and similar
11 functionality as the \refmodule{cmp} module, but can be a bit more efficient
12 as it uses \function{statcache.stat()} instead of \function{os.stat()}
13 (see the \refmodule{statcache} module for information on the
14 difference).
16 \note{Using the \refmodule{statcache} module to provide
17 \function{stat()} information results in trashing the cache
18 invalidation mechanism: results are not as reliable. To ensure
19 ``current'' results, use \function{cmp.cmp()} instead of the version
20 defined in this module, or use \function{statcache.forget()} to
21 invalidate the appropriate entries.}