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 Mathias Ettinger
Recipients Mathias Ettinger, eric.araujo, hroncok, paul.j3, zachrahan
Date 2018-11-20.15:37:01
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
I was just hit by the very same issue and added the following test into `_get_action_name` to work around it:

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

I checked #9253 as referenced by paul j3 and like the `` approach as well as it's less specific.

Any chance this can be addressed one way or another?
Date User Action Args
2018-11-20 15:37:01Mathias Ettingersetrecipients: + Mathias Ettinger, eric.araujo, zachrahan, paul.j3, hroncok
2018-11-20 15:37:01Mathias Ettingersetmessageid: <>
2018-11-20 15:37:01Mathias Ettingerlinkissue29298 messages
2018-11-20 15:37:01Mathias Ettingercreate