Message378845
A more recent issue shows that the use of a '*' positional in a multually_exclusive_group is poorly understood and documented.
https://bugs.python.org/issue41854
That's part of why I am not enthusiastic about extending this to include REMAINDER.
And on rereading Shani's posts, I realize I don't understand what this has to do with subcommands. Is this the 'add_subparsers' mechanism, or just the idea of using a trailing part of sys.argv as input to another parser or script?
I think discussion of this topic can only proceed with some concrete examples, and may be even a proposed code change (not necessarily a formal patch or pull request). |
|
Date |
User |
Action |
Args |
2020-10-18 01:48:44 | paul.j3 | set | recipients:
+ paul.j3, rhettinger, taleinat, Shani Armon |
2020-10-18 01:48:44 | paul.j3 | set | messageid: <1602985724.2.0.520523646249.issue40509@roundup.psfhosted.org> |
2020-10-18 01:48:44 | paul.j3 | link | issue40509 messages |
2020-10-18 01:48:44 | paul.j3 | create | |
|