[issue12265] revamp argument errors

R. David Murray report at bugs.python.org
Mon Jun 6 04:06:49 CEST 2011


R. David Murray <rdmurray at bitdance.com> added the comment:

That's why I said "their own source or pydoc...".

The language of the error message is trying to describe the error as the interpreter knows about it at the time the error is generated.  That has a strong relationship to the prototype, but the two things are not the same.

IMO the added complexity of finding and displaying the prototype is not worth it.  But it is Benjamin who was willing to tackle trying to fix the current problems with the error messages, so I'm happy to leave that decision up to him.

----------

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


More information about the Python-bugs-list mailing list