Mike Hagerty added the comment: You win. It's not a bug, it's a feature ... that renders the module incorrect by any reasonable definition.
argparse here I come! On Thu, Sep 15, 2016 at 3:20 PM, Steven D'Aprano <rep...@bugs.python.org> wrote: > > Steven D'Aprano added the comment: > > > How is silently failing to resolve input errors okay ? > > You haven't demonstrated that it fails to resolve input errors. You have > demonstrated a *feature*, not a bug: getopt will accept prefixes if they > unambiguously match ONE long option only. If the prefix matches two or more > options, then the prefix is ambiguous and getopt will not accept it. > > ---------- > > _______________________________________ > Python tracker <rep...@bugs.python.org> > <http://bugs.python.org/issue28171> > _______________________________________ > ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue28171> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com