[issue24419] In argparse action append_const doesn't work for positional arguments

py.user report at bugs.python.org
Thu Jun 18 05:12:30 CEST 2015


py.user added the comment:

paul j3 wrote:
> The name (and hence the 'dest') must be unique.

The problem is in the dest argument of add_argument(). Why user can't set a custom name for a positional?

We can use this list not only for positionals but for optionals too.

----------

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


More information about the Python-bugs-list mailing list