Message385835
> capture mutual relationship between command line arguments for more
> advanced parsers, where order of command line arguments is meaningful
I don't think this is a pattern we should encourage. It doesn't seem to arise often and it makes the API much more complex for end users.
Also, I'm concerned that adding more action classes will make argparse harder to learn for the average user. Already, the module suffers from sprawl and has unexpected interactions between the components. The docs and tutorial are voluminous and hard to digest in a single sitting.
ISTM the scope of argparse was never intended to capture all possible patterns for command line argument parsing. Instead, it aimed at to address the common cases. |
|
Date |
User |
Action |
Args |
2021-01-28 05:10:26 | rhettinger | set | recipients:
+ rhettinger, v+python, r.david.murray, paul.j3, monkeyman79 |
2021-01-28 05:10:26 | rhettinger | set | messageid: <1611810626.64.0.502149865276.issue43046@roundup.psfhosted.org> |
2021-01-28 05:10:26 | rhettinger | link | issue43046 messages |
2021-01-28 05:10:25 | rhettinger | create | |
|