Zachary Ware added the comment:

There's a bug in this patch, first reported at 
https://github.com/python/benchmarks/issues/1

Attached patch causes test_parse_args_abbreviation to show the failure:

test.test_argparse.ArgumentParserError: ('SystemExit', '', "usage: PROG [-h] 
[--foo] bar {1,2,3,lost,long,longer} ...\nPROG: error: ambiguous choice: 'long' 
could match long, longer\n")

----------
assignee:  -> vinay.sajip
nosy: +zach.ware
resolution: fixed -> 
stage: resolved -> needs patch
status: closed -> open
versions: +Python 3.6 -Python 3.4
Added file: http://bugs.python.org/file44157/abbr_bug_test.diff

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue12713>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to