[New-bugs-announce] [issue16614] argparse accepts partial parameters
Michael Edwards
report at bugs.python.org
Wed Dec 5 14:28:07 CET 2012
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 <report at bugs.python.org>
<http://bugs.python.org/issue16614>
_______________________________________
More information about the New-bugs-announce
mailing list