[issue10424] better error message from argparse when positionals missing

Steven Bethard report at bugs.python.org
Sun Nov 21 04:06:47 CET 2010


Steven Bethard <steven.bethard at gmail.com> added the comment:

Yeah a new test class is fine.

And I checked the patch and it looks okay to me. My first thought was also "wait does that really work?" but I see that positionals are all marked as required when appropriate (look for the comment starting with "mark positional arguments as required").

I don't have time to test the patch right now, but if someone else does, I'm fine with this after the test for the new behavior is added.

----------

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


More information about the Python-bugs-list mailing list