[issue1234674] filecmp.cmp's "shallow" option

Steven Barker report at bugs.python.org
Mon Apr 21 10:30:17 CEST 2014


Steven Barker added the comment:

A recent Stack Overflow question (http://stackoverflow.com/q/23192359/1405065) relates to this bug. The questioner was surprised that filecmp.cmp is much slower than usual for certain large files, despite the "shallow" parameter being True.

It is pretty clear to me that the behavior of filecmp.cmp does not match its docstring with respect to "shallow". Either the docstring should be updated to match the existing behavior, or (more likely?) the behavior should change to match the docs.

----------
components: +Library (Lib) -Extension Modules
nosy: +Steven.Barker
versions: +Python 3.4

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue1234674>
_______________________________________


More information about the Python-bugs-list mailing list