[issue14856] argparse: creating an already defined subparsers does not raises an exception

Étienne Buira report at bugs.python.org
Sat May 19 14:27:51 CEST 2012


New submission from Étienne Buira <etienne.buira at 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 <report at bugs.python.org>
<http://bugs.python.org/issue14856>
_______________________________________


More information about the Python-bugs-list mailing list