[issue41354] filecmp.cmp documentation does not match actual code

Andrei Kulakov report at bugs.python.org
Sun Jul 11 21:31:37 EDT 2021


Andrei Kulakov <andrei.avk at gmail.com> added the comment:

Christof: I've left one comment on the PR.

Generally your reasoning (on why unexpected deep cmp is not ideal), makes sense to me.

However, this is a backwards incompatible change that will probably affect a large number of a lot of scripts that quietly run in the background and might silently break (i.e. just by affecting different sets of files, with no reported errors or warnings) with this change.

Can you find other instances where people complained about this behavior e.g. here on BPO or SO?

What do you think about making this change while preserving backwards compatibility e.g. via a new arg?

----------
nosy: +andrei.avk

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue41354>
_______________________________________


More information about the Python-bugs-list mailing list