This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author Nathan Naze
Recipients Nathan Naze, r.david.murray
Date 2016-05-10.18:55:22
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1462906522.76.0.10265284981.issue26994@psf.upfronthosting.co.za>
In-reply-to
Content
> It does 'bool(value)', and 'bool("False")' is True, since "False" is a non-empty string.

Yes, I understand this. It's fine to mark as "working as intended", but coming from other flag-parsing libraries, I find the behavior unintuitive and do not understand the utility of accepting arbitrary strings given the  potential for user confusion. We uncovered this behavior debugging a script used internally at Google.
History
Date User Action Args
2016-05-10 18:55:22Nathan Nazesetrecipients: + Nathan Naze, r.david.murray
2016-05-10 18:55:22Nathan Nazesetmessageid: <1462906522.76.0.10265284981.issue26994@psf.upfronthosting.co.za>
2016-05-10 18:55:22Nathan Nazelinkissue26994 messages
2016-05-10 18:55:22Nathan Nazecreate