Message347686
Today when using argparse.ArgumentParser it seems that the bool type is not supported in a logical way.
Foe example:
-------------------------------------
import argparse
parser = argparse.ArgumentParser()
parser.add_argument("--mybool", type=bool)
parsed_args = parser.parse(["--mybool", "False"])
--------------------------------------
parsed_args.my_bool evaluates to True
Instead we should expect to evaluate False here. |
|
Date |
User |
Action |
Args |
2019-07-11 15:10:32 | Zach Beniash | set | recipients:
+ Zach Beniash |
2019-07-11 15:10:32 | Zach Beniash | set | messageid: <1562857832.91.0.995710130518.issue37564@roundup.psfhosted.org> |
2019-07-11 15:10:32 | Zach Beniash | link | issue37564 messages |
2019-07-11 15:10:32 | Zach Beniash | create | |
|