Message394096
Reporting a duplicate / superseder with the following bug:
parser = argparse.ArgumentParser()
subparsers = parser.add_subparsers(required=True)
subparsers.add_parser('foo')
parser.parse_args()
Raising:
TypeError: sequence item 0: expected str instance, NoneType found
It has already been reported in https://bugs.python.org/issue29298
with an interesting solution by Greg Minshall. |
|
Date |
User |
Action |
Args |
2021-05-21 07:02:44 | Lucas Cimon | set | recipients:
+ Lucas Cimon, gregory.p.smith, bethard, ned.deily, eric.araujo, memeplex, paul.j3, serhiy.storchaka, wolma, Anthony Sottile, bskinn |
2021-05-21 07:02:44 | Lucas Cimon | set | messageid: <1621580564.85.0.149448166647.issue33109@roundup.psfhosted.org> |
2021-05-21 07:02:44 | Lucas Cimon | link | issue33109 messages |
2021-05-21 07:02:44 | Lucas Cimon | create | |
|