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 zhongxiang117
Recipients zhongxiang117
Date 2021-07-11.23:21:13
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1626045674.23.0.119206602345.issue44601@roundup.psfhosted.org>
In-reply-to
Content
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'
History
Date User Action Args
2021-07-11 23:21:14zhongxiang117setrecipients: + zhongxiang117
2021-07-11 23:21:14zhongxiang117setmessageid: <1626045674.23.0.119206602345.issue44601@roundup.psfhosted.org>
2021-07-11 23:21:14zhongxiang117linkissue44601 messages
2021-07-11 23:21:14zhongxiang117create