Message 338321 - Python tracker

Message338321

Author Abhinav Gupta
Recipients Abhinav Gupta
Date 2019-03-19.06:56:39
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1552978599.88.0.823595828777.issue36358@roundup.psfhosted.org>
In-reply-to
Content
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?
History
Date User Action Args
2019-03-19 06:56:39Abhinav Guptasetrecipients: + Abhinav Gupta
2019-03-19 06:56:39Abhinav Guptasetmessageid: <1552978599.88.0.823595828777.issue36358@roundup.psfhosted.org>
2019-03-19 06:56:39Abhinav Guptalinkissue36358 messages
2019-03-19 06:56:39Abhinav Guptacreate