Message397268
Additional argument like "allow_abbrev_short" should be added to avoid those potential bugs due to abbreviations on short options cannot be handled by "allow_abbrev".
To reproduce and be well explanation, please check on my attached testing file.
The following is the excerpt:
1) contents in link:
https://docs.python.org/3/library/argparse.html#prefix-matching
should be updated to long options (two dashes)
2) bugs may happen due to `allow_abbrev' cannot handle short options
when recycling top-level arguments by using `add_subparsers' |
|
Date |
User |
Action |
Args |
2021-07-11 23:21:14 | zhongxiang117 | set | recipients:
+ zhongxiang117 |
2021-07-11 23:21:14 | zhongxiang117 | set | messageid: <1626045674.23.0.119206602345.issue44601@roundup.psfhosted.org> |
2021-07-11 23:21:14 | zhongxiang117 | link | issue44601 messages |
2021-07-11 23:21:14 | zhongxiang117 | create | |
|