Message309686
In https://bugs.python.org/issue11354
'argparse: nargs could accept range of options count'
I explored the option allowing regex style range arguments, such as nargs='{2,4}' or an equivalent tuple nargs=(2,4).
But that builds on https://bugs.python.org/issue9849, which seeks better error checking of the `nargs` parameter. In the current implementation, there is no checking or parsing of the value. The full range of allowable values is determined by its use in 2 methods:
_get_nargs_pattern
_format_args |
|
Date |
User |
Action |
Args |
2018-01-09 07:00:18 | paul.j3 | set | recipients:
+ paul.j3, eric.smith, steven.daprano, r.david.murray, asvetlov, shubham1172 |
2018-01-09 07:00:18 | paul.j3 | set | messageid: <1515481218.24.0.467229070634.issue32474@psf.upfronthosting.co.za> |
2018-01-09 07:00:18 | paul.j3 | link | issue32474 messages |
2018-01-09 07:00:17 | paul.j3 | create | |
|