[issue39167] argparse boolean type bug

Trenton Bricken report at bugs.python.org
Mon Dec 30 11:28:13 EST 2019


Trenton Bricken <brickentrenton at gmail.com> added the comment:

Update: 

I was being dumb before, the problem still remains but my work around previously was wrong. This is the new workaround: 

def buildBool(arg):
    if arg == 'False':
        return False
    else:
        return True

----------

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue39167>
_______________________________________


More information about the Python-bugs-list mailing list