[issue23777] argparse subcommand action can't be specified

2015-03-25 Thread Berker Peksag
Berker Peksag added the comment: Thanks for the report. This is a duplicate of issue 23487. -- nosy: +berker.peksag resolution: -> duplicate stage: -> resolved status: open -> closed superseder: -> argparse: add_subparsers 'action' broken type: crash -> behavior _

[issue23777] argparse subcommand action can't be specified

2015-03-25 Thread SpaceOne
New submission from SpaceOne: parser.add_subparsers(dest='arguments', action='append') will raise the following exception: File "/usr/lib/python2.7/argparse.py", line 1675, in add_subparsers action = parsers_class(option_strings=[], **kwargs) TypeError: __init__() got an unexpected keyword