[issue9355] argparse add_mutually_exclusive_group more than once has incorrectly formatted help

2010-12-21 Thread Steven Bethard
Changes by Steven Bethard steven.beth...@gmail.com: -- stage: needs patch - committed/rejected ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue9355 ___

[issue9355] argparse add_mutually_exclusive_group more than once has incorrectly formatted help

2010-11-01 Thread Steven Bethard
Steven Bethard steven.beth...@gmail.com added the comment: Committed in r86092 (3.X) and r86093 (2.7). Thanks for the patches! -- assignee: - bethard resolution: - fixed status: open - closed ___ Python tracker rep...@bugs.python.org

[issue9355] argparse add_mutually_exclusive_group more than once has incorrectly formatted help

2010-08-04 Thread Catherine Devlin
Catherine Devlin fredv8vi...@liquidid.net added the comment: Unit test for Drake's patch -- nosy: +catherine Added file: http://bugs.python.org/file18392/test_mutually_exclusive.patch ___ Python tracker rep...@bugs.python.org

[issue9355] argparse add_mutually_exclusive_group more than once has incorrectly formatted help

2010-08-04 Thread Catherine Devlin
Catherine Devlin fredv8vi...@liquidid.net added the comment: copy of Drake's argparse.diff - same patch, just has less specific diff header info (because ``patch -p0 argparse.diff`` failed on my machine) -- Added file: http://bugs.python.org/file18393/mutually_exclusive_help.patch

[issue9355] argparse add_mutually_exclusive_group more than once has incorrectly formatted help

2010-07-29 Thread Drake Dowsett
Drake Dowsett drake.dows...@gmail.com added the comment: Problem is `inserts' dictionary is overwriting previous closing bracket, so checking for existing value and then appending if found. -- keywords: +patch nosy: +ddowsett versions: +Python 2.6 Added file:

[issue9355] argparse add_mutually_exclusive_group more than once has incorrectly formatted help

2010-07-23 Thread Steven Bethard
New submission from Steven Bethard steven.beth...@gmail.com: [Moved from http://code.google.com/p/argparse/issues/detail?id=78] What steps will reproduce the problem? 1. Create two mutually exclusive groups: eg agroup = subcmd_parser.add_mutually_exclusive_group() agroup.add_argument('--a1',