Message390443
An overlapping issue
https://bugs.python.org/issue18943
argparse: default args in mutually exclusive groups
That issue shows that this problem arises with small integers as well (<257), which in cpython have unique ids. It's an implementation detail, pypy for example does not have this issue.
The whole purpose of this extra default testing is to allow '?/*' positionals in mutually_exclusive_groups.
The patch I proposed in 2013 is basically the same thing, except I called the new flag variable 'using_default'.
We should review the discussion in that issue to see if it raises any additional issues or concerns. |
|
Date |
User |
Action |
Args |
2021-04-07 16:24:24 | paul.j3 | set | recipients:
+ paul.j3, rhettinger, keith |
2021-04-07 16:24:24 | paul.j3 | set | messageid: <1617812664.31.0.227909679004.issue43220@roundup.psfhosted.org> |
2021-04-07 16:24:24 | paul.j3 | link | issue43220 messages |
2021-04-07 16:24:24 | paul.j3 | create | |
|