[issue10424] better error message from argparse when positionals missing
Michele Orrù
report at bugs.python.org
Sat Nov 20 01:07:03 CET 2010
Michele Orrù <maker.py at gmail.com> added the comment:
The attached patch solves this issue.
I haven't added any unittest because test_argparse.py is quite huge - over 4300 lines-, and I was undecided between «ArgumentError tests» (4251) and «ArgumentTypeError tests» (4262). Any hint?
However, file bug10424.py reproduces this bug.
----------
keywords: +patch
Added file: http://bugs.python.org/file19646/issue10424.patch
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue10424>
_______________________________________
More information about the Python-bugs-list
mailing list