New submission from Étienne Buira <etienne.bu...@free.fr>: With this patch, it raises an ArgumentException, instead of overwriting previous subparser without notice.
Regards. ---------- components: Library (Lib) files: argparse_no_dup_subparsers.diff keywords: patch messages: 161112 nosy: eacb priority: normal severity: normal status: open title: argparse: creating an already defined subparsers does not raises an exception versions: Python 2.6, Python 2.7, Python 3.1, Python 3.2, Python 3.3, Python 3.4 Added file: http://bugs.python.org/file25637/argparse_no_dup_subparsers.diff _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue14856> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com