[issue9625] argparse: Problem with defaults for variable nargs when using choices

Steven Bethard report at bugs.python.org
Sun Jul 22 00:19:22 CEST 2012


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

I agree that this looks like a bug. I think the fix is something like the attached patch, but it needs some tests to make sure that it fixes your problem.

----------
keywords: +patch
Added file: http://bugs.python.org/file26471/issue9625.diff

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


More information about the Python-bugs-list mailing list