[issue3354] Improve error reporting for the argument parsing API
Christoph Zwerschke
report at bugs.python.org
Tue Jul 15 01:40:26 CEST 2008
Christoph Zwerschke <cito at online.de> added the comment:
Agree. Seems to be a more general weakness of the argument parsing of
builtin functions and methods, that calls for a general solution instead
of a local patch. Luckily there are not so many cases where the errors
are misleading, since the builtin functions have very few and mostly
positioned parameters, so the problem is not as bad as it seems. There
may be only very few cases, like the example above, where the errors are
really too unspecific or misleading.
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue3354>
_______________________________________
More information about the Python-bugs-list
mailing list