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 Lucas Cimon
Recipients Anthony Sottile, Lucas Cimon, bethard, bskinn, eric.araujo, gregory.p.smith, memeplex, ned.deily, paul.j3, serhiy.storchaka, wolma
Date 2021-05-21.07:02:44
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1621580564.85.0.149448166647.issue33109@roundup.psfhosted.org>
In-reply-to
Content
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.
History
Date User Action Args
2021-05-21 07:02:44Lucas Cimonsetrecipients: + Lucas Cimon, gregory.p.smith, bethard, ned.deily, eric.araujo, memeplex, paul.j3, serhiy.storchaka, wolma, Anthony Sottile, bskinn
2021-05-21 07:02:44Lucas Cimonsetmessageid: <1621580564.85.0.149448166647.issue33109@roundup.psfhosted.org>
2021-05-21 07:02:44Lucas Cimonlinkissue33109 messages
2021-05-21 07:02:44Lucas Cimoncreate