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:22:17
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
Sorry, the fix was by Mathias Ettinger:

    elif isinstance(argument, _SubParsersAction):
        return '{%s}' % ','.join(map(str, argument.choices))

I submitted a PR with this patch and a corresponding unit test:
Date User Action Args
2021-05-21 07:22:18Lucas Cimonsetrecipients: + Lucas Cimon, gregory.p.smith, bethard, ned.deily, eric.araujo, memeplex, paul.j3, serhiy.storchaka, wolma, Anthony Sottile, bskinn
2021-05-21 07:22:18Lucas Cimonsetmessageid: <>
2021-05-21 07:22:17Lucas Cimonlinkissue33109 messages
2021-05-21 07:22:17Lucas Cimoncreate