[issue42958] filecmp.cmp(shallow=True) isn't actually shallow when only mtime differs
New submission from Alexander Vandenbulcke : Consider the case where 2 files are shallow compared where only the mtime differs (i.e. the mode and size is identical). With filecmp.cmp(f1, f2, shallow=True) a deep compare would be performed behind the scenes since the guard clauses fell
[issue42958] filecmp.cmp(shallow=True) isn't actually shallow when only mtime differs
Change by Alexander Vandenbulcke : -- keywords: +patch pull_requests: +23067 stage: -> patch review pull_request: https://github.com/python/cpython/pull/24246 ___ Python tracker <https://bugs.python.org/issu