Message330133
| 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 | <1542728221.37.0.788709270274.issue29298@psf.upfronthosting.co.za> |
| In-reply-to |
| Content | |
|---|---|
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 `argument.name()` approach as well as it's less specific.
Any chance this can be addressed one way or another? |
|
| History | |||
|---|---|---|---|
| Date | User | Action | Args |
| 2018-11-20 15:37:01 | Mathias Ettinger | set | recipients: + Mathias Ettinger, eric.araujo, zachrahan, paul.j3, hroncok |
| 2018-11-20 15:37:01 | Mathias Ettinger | set | messageid: <1542728221.37.0.788709270274.issue29298@psf.upfronthosting.co.za> |
| 2018-11-20 15:37:01 | Mathias Ettinger | link | issue29298 messages |
| 2018-11-20 15:37:01 | Mathias Ettinger | create | |