Leandro Lima added the comment:
IMV, the adopted solution creates a problem of a mismatch between the signature
and the function behavior.
I was just hit by this, as I never cared to specify digestmod trusting that
Python defaults are usually sound choices.
I agree that changing the
Leandro Lima added the comment:
In my view, this function signature changed too silently. Even using static
type checkers, I could only find about this compatibility breaking change when
actually running the code.
If I understand well the reason it was done this way, digestmod needed to