Message394097
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: https://github.com/python/cpython/pull/26278 | |
| Date | User | Action | Args | | 2021-05-21 07:22:18 | 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:22:18 | Lucas Cimon | set | messageid: <1621581738.0.0.497973811293.issue33109@roundup.psfhosted.org> | | 2021-05-21 07:22:17 | Lucas Cimon | link | issue33109 messages | | 2021-05-21 07:22:17 | Lucas Cimon | create | | |