[issue9340] argparse parse_known_args does not work with subparsers

Steven Bethard report at bugs.python.org
Tue Nov 2 13:51:09 CET 2010


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

Fixed with a variant of Catherine's patch (following R. David Murray's suggestion of inlining the two methods) in r86111 (3.X) and r86112 (2.7). Also added one more test to make sure that the order of the extra arguments is consistent (extra arguments from main parser before extra arguments from subparser).

----------
resolution:  -> fixed
stage: patch review -> committed/rejected
status: open -> closed
versions:  -Python 3.1

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


More information about the Python-bugs-list mailing list