[issue40615] unstable behaviour for options in argparse

2020-06-07 Thread paul j3
Change by paul j3 : -- nosy: +paul.j3 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org

[issue40615] unstable behaviour for options in argparse

2020-05-13 Thread Eric V. Smith
Eric V. Smith added the comment: I wish the abbreviation behavior was opt-in instead of opt-out, but such is life. Closing as not a bug. -- nosy: +eric.smith resolution: -> not a bug stage: -> resolved status: open -> closed type: -> behavior _

[issue40615] unstable behaviour for options in argparse

2020-05-13 Thread Chris Jerdonek
Chris Jerdonek added the comment: One thing that's interesting is that you don't get the "ambiguous option" error if what's provided is an exact match (even if a prefix of both). For example, if you instead parsed "--clea", it would give the error: > error: ambiguous option: --clea could mat

[issue40615] unstable behaviour for options in argparse

2020-05-13 Thread gaborbernat
gaborbernat added the comment: I did not, nm then. Thanks for the link. -- ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue40615] unstable behaviour for options in argparse

2020-05-13 Thread Chris Jerdonek
Chris Jerdonek added the comment: Do you know about this section of the docs? https://docs.python.org/3/library/argparse.html#argument-abbreviations-prefix-matching -- nosy: +chris.jerdonek ___ Python tracker __

[issue40615] unstable behaviour for options in argparse

2020-05-13 Thread gaborbernat
Change by gaborbernat : -- title: argparse -> unstable behaviour for options in argparse ___ Python tracker ___ ___ Python-bugs-list