Author xtreak
Recipients chr0139, eric.smith, xtreak
Date 2019-06-11.09:18:48
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1560244728.28.0.124223992293.issue37227@roundup.psfhosted.org>
In-reply-to
Content
argparse allows abbreviations by default so --li matches --list as a prefix match. This is documented at https://docs.python.org/2.7/library/argparse.html#argument-abbreviations-prefix-matching

From python 3.5 allow_abbrev=False can be passed to ArgumentParser to disable this. See also issue10981 and issue14910 that implemented this. https://docs.python.org/3/library/argparse.html#argument-abbreviations-prefix-matching.
History
Date User Action Args
2019-06-11 09:18:48xtreaksetrecipients: + xtreak, eric.smith, chr0139
2019-06-11 09:18:48xtreaksetmessageid: <1560244728.28.0.124223992293.issue37227@roundup.psfhosted.org>
2019-06-11 09:18:48xtreaklinkissue37227 messages
2019-06-11 09:18:48xtreakcreate