|
[[yurttas/PL/SL/python/docs/core-python-programming/doc/152/lib/module-time.html| ]]
|
[[yurttas/PL/SL/python/docs/core-python-programming/doc/152/lib/allos.html| ]]
|
[[yurttas/PL/SL/python/docs/core-python-programming/doc/152/lib/module-cmp.html| ]]
|
Python Library Reference
|
[[yurttas/PL/SL/python/docs/core-python-programming/doc/152/lib/contents.html| ]]
|
[[yurttas/PL/SL/python/docs/core-python-programming/doc/152/lib/modindex.html| ]]
|
[[yurttas/PL/SL/python/docs/core-python-programming/doc/152/lib/genindex.html| ]]
|
Next: 6.9 time Up: 6. Generic Operating System Previous: 6.7 cmp
6.8 cmpcache -- Efficient file comparisons
The cmpcache module provides an identical interface and similar functionality as the cmp module, but can be a bit more efficient as it uses statcache.stat() instead of os.stat() (see the statcache module for information on the difference).
Note: Using the statcache module to provide stat() information results in trashing the cache invalidation mechanism: results are not as reliable. To ensure ``current'' results, use cmp.cmp() instead of the version defined in this module, or use statcache.forget() to invalidate the appropriate entries.
|
[[yurttas/PL/SL/python/docs/core-python-programming/doc/152/lib/module-time.html| ]]
|
[[yurttas/PL/SL/python/docs/core-python-programming/doc/152/lib/allos.html| ]]
|
[[yurttas/PL/SL/python/docs/core-python-programming/doc/152/lib/module-cmp.html| ]]
|
Python Library Reference
|
[[yurttas/PL/SL/python/docs/core-python-programming/doc/152/lib/contents.html| ]]
|
[[yurttas/PL/SL/python/docs/core-python-programming/doc/152/lib/modindex.html| ]]
|
[[yurttas/PL/SL/python/docs/core-python-programming/doc/152/lib/genindex.html| ]]
|
Next: 6.9 time Up: 6. Generic Operating System Previous: 6.7 cmp
Send comments on this document to python-docs@python.org.