[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.Edwards
Added file: http://bugs.python.org/file28165/test.py

___
Python tracker 
<http://bugs.python.org/issue14174>
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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 was super unexpected for me.

--
components: Library (Lib)
files: test.py
messages: 176981
nosy: Michael.Edwards
priority: normal
severity: normal
status: open
title: argparse accepts partial parameters
versions: Python 2.7
Added file: http://bugs.python.org/file28209/test.py

___
Python tracker 
<http://bugs.python.org/issue16614>
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com