This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author monkeyman79
Recipients monkeyman79, paul.j3, r.david.murray, v+python
Date 2021-01-26.20:24:14
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1611692654.78.0.584013702932.issue42973@roundup.psfhosted.org>
In-reply-to
Content
Paul,

> The basic logic of argparse is to accept optionals in any order, and positionals in strict positional order.  'nargs' allows us to pair any number of strings with each optional's flag.

I started this issue because that was insufficient for my project.

> I wonder if adding a new nargs, such as '**' would be better than than the new parameter 'greedy_star=True'.

Yeah, I considered that earlier, but I thought that would be too much effort to review all the places where it would have to be treated as equal to '*'. But now I agree with you, I'll try to change that.
History
Date User Action Args
2021-01-26 20:24:14monkeyman79setrecipients: + monkeyman79, v+python, r.david.murray, paul.j3
2021-01-26 20:24:14monkeyman79setmessageid: <1611692654.78.0.584013702932.issue42973@roundup.psfhosted.org>
2021-01-26 20:24:14monkeyman79linkissue42973 messages
2021-01-26 20:24:14monkeyman79create