[issue9352] argparse eats characters when parsing multiple merged short options

2010-11-01 Thread Steven Bethard
Steven Bethard added the comment: Patches applied in r86090 (3.X) and r86091 (2.7). Thanks for your help Catherine, and sorry it took me so long to apply these. -- assignee: -> bethard resolution: -> fixed status: open -> closed ___ Python tracker

[issue9352] argparse eats characters when parsing multiple merged short options

2010-08-03 Thread Catherine Devlin
Catherine Devlin added the comment: Updated Steven's patch; no changes, but now it knows the new context so that ``patch -p0`` won't fail. -- Added file: http://bugs.python.org/file18343/multiple_short_same_prefix_new.patch ___ Python tracker

[issue9352] argparse eats characters when parsing multiple merged short options

2010-08-03 Thread Catherine Devlin
Catherine Devlin added the comment: Attaching a test to verify parse failure on mismatched prefix (-abc or +abc). Steven's patch makes it pass. -- nosy: +catherine versions: -Python 2.7, Python 3.2 Added file: http://bugs.python.org/file18342/test_multiple_short_same_prefix.patch _

[issue9352] argparse eats characters when parsing multiple merged short options

2010-07-23 Thread Steven Bethard
New submission from Steven Bethard : [Moved from http://code.google.com/p/argparse/issues/detail?id=73] What steps will reproduce the problem? parser = ArgumentParser(prefix_chars="-+") parser.add_argument("-a",action="store_true") parser.add_argument("+b",action="store_true") parser.add_argumen