[New-bugs-announce] [issue29937] argparse mutex group should allow mandatory parameters

Mark Nolan report at bugs.python.org
Tue Mar 28 13:43:18 EDT 2017


New submission from Mark Nolan:

I see elsewhere, and from use, that a mutex group will not support mandatory positional parameters.

TBH, I don't understand why this should be any different from any other option, but if it must, then I think it should follow the 'required' parameter of the mutex.

So, it should be possible to have a mutex group where one option must be chosen and that option must have positional parameters.

(My first post here. Not sure of any other way to discuss with the argparse development group. Point me somewhere else if appropriate).

----------
components: Library (Lib)
messages: 290750
nosy: Mark Nolan
priority: normal
severity: normal
status: open
title: argparse mutex group should allow mandatory parameters
type: enhancement
versions: Python 3.3, Python 3.4, Python 3.5, Python 3.6

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


More information about the New-bugs-announce mailing list