New submission from Toshihiro Kamishima <m...@kamishima.net>:

According to the documentation of "argparse.Action", a keyword 'bool' is not 
allowed for type argument, but it doesn't raise no errors.

One possible way to fix this issue is to check in the 
"argparse._ActionsContainer.add_argument" method.

----------
components: Library (Lib)
files: argparse.py.patch
keywords: patch
messages: 156636
nosy: shima__shima
priority: normal
severity: normal
status: open
title: type=bool doesn't raise error in argparse.Action
versions: Python 2.7
Added file: http://bugs.python.org/file25001/argparse.py.patch

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue14392>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to