This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author paul.j3
Recipients keith, paul.j3, rhettinger
Date 2021-04-07.16:24:24
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1617812664.31.0.227909679004.issue43220@roundup.psfhosted.org>
In-reply-to
Content
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.
History
Date User Action Args
2021-04-07 16:24:24paul.j3setrecipients: + paul.j3, rhettinger, keith
2021-04-07 16:24:24paul.j3setmessageid: <1617812664.31.0.227909679004.issue43220@roundup.psfhosted.org>
2021-04-07 16:24:24paul.j3linkissue43220 messages
2021-04-07 16:24:24paul.j3create