Author paul.j3
Recipients Sam.Kerr, paul.j3
Date 2014-07-25.21:37:22
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
Here's a preliminary patch that raises an error if there's an attempt to nest a mutually exclusive group in another, or there's an attempt to add an argument group to either kind of group.

It still needs and argparse.rst changes

I'm raising a ValueError, since that is what most of the other add_argument errors do.  An alternative is a NotImplementedError, since that is, in effect, what I am doing, blocking the implementation of particular 'add' methods.

An alternative to adding this patch as high priority bug issue, is to include it in the UsageGroup patch (11588) which will implement nestable groups.
Date User Action Args
2014-07-25 21:37:22paul.j3setrecipients: + paul.j3, Sam.Kerr
2014-07-25 21:37:22paul.j3setmessageid: <>
2014-07-25 21:37:22paul.j3linkissue22047 messages
2014-07-25 21:37:22paul.j3create