[issue17250] argparse: Issue 15906 patch; positional with nargs='*' and string default

paul j3 report at bugs.python.org
Wed Jul 16 01:51:21 CEST 2014


paul j3 added the comment:

Positionals with '*' are discussed in more detail in:

http://bugs.python.org/issue9625 - argparse: Problem with defaults for variable nargs when using choices

http://bugs.python.org/issue16878 - argparse: positional args with nargs='*' defaults to []

http://bugs.python.org/issue18943 - argparse: default args in mutually exclusive groups

I would suggest closing this issue, and refining the documentation patch in 16878 to note that a '*' positional default does not get evaluated.

----------

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


More information about the Python-bugs-list mailing list