[issue39200] Fix inaccurate TypeError messages when calling with insufficient arguments

STINNER Victor report at bugs.python.org
Wed Jan 15 16:52:16 EST 2020


STINNER Victor <vstinner at python.org> added the comment:

> 3rd party: IMHO, if somebody relies on the error message, not error type, I think that the code pattern is bad usage

I don't think that we can be pedantic on how projects should be tested.

IMHO it's too risky. I rejected backports. The risk of regression in a *minor* release is just too high. Such "cleanup" change is better fitted for a new 3.x major release.

----------
resolution:  -> fixed
stage: patch review -> resolved
status: open -> closed
versions:  -Python 3.7, Python 3.8

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


More information about the Python-bugs-list mailing list