[issue16614] argparse accepts partial parameters

2012-12-05 Thread Michael Edwards
New submission from Michael Edwards: When running parse_args, ArgumentParser is liberal in accepting parameters. Partial matches will be accepted as arguments (in the included example, --test bob, --tester bob, --testers bob all set the testers argument) Perhaps this is documented, but it

[issue14174] argparse.REMAINDER fails to parse remainder correctly

2012-11-30 Thread Michael Edwards
Michael Edwards added the comment: I'm attaching my own bug repro script for Eric. Is this sufficient? I can demonstrate the entire resulting Namespace, but the problem is that argparse doesn't even produce a Namespace. The cases I show simply fail. -- nosy: +Michael.Edw