[issue27927] argparse: default propagation of formatter_class from ArgumentParser() to SubParsers

2016-09-03 Thread paul j3
paul j3 added the comment: http://bugs.python.org/issue21633 also deals with the formatter of subparsers. I note there that few of parameters of the main parser propagate to the subparsers. The current design gives the programmer maximum control, at the expense of a bit of typing. If I

[issue27927] argparse: default propagation of formatter_class from ArgumentParser() to SubParsers

2016-09-01 Thread Benjamin Giesers
New submission from Benjamin Giesers: It would be nice to propagate the formatter_class defined in argparse.ArgumentParser() to added SubParsers by default. Currently one has to define the formatter_class for each subparser again and again. Example: parser =