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 <rep...@bugs.python.org> <http://bugs.python.org/issue16614> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com