Changes by Steven Bethard steven.beth...@gmail.com:
--
stage: needs patch - committed/rejected
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue9355
___
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
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
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
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:
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',