New submission from Abhinav Gupta <abhinavgupt...@gmail.com>:

If I have a type=bool argument in argparser and I provide the value for it 
using command-line, it always evaluates to True. Is this expected?

Is there no alternative to using '' for False and any other string for True?

----------
components: Library (Lib)
messages: 338321
nosy: Abhinav Gupta
priority: normal
severity: normal
status: open
title: bool type does not support True or False as command line argv
type: behavior
versions: Python 2.7, Python 3.5, Python 3.6, Python 3.7

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

Reply via email to