[issue34865] Incorrect assignment of optional argument when partial match with different argument found.

Rob Dalton report at bugs.python.org
Mon Oct 1 17:02:07 EDT 2018


Rob Dalton <robcdalton at gmail.com> added the comment:

It does. Thanks! I feel dumb for not finding that.

Guess I'd just suggest making the default `false`, seems more intuitive to
me.

On Mon, Oct 1, 2018 at 2:00 PM Robert Dalton <rob.c.dalton at gmail.com> wrote:

> It does. Thanks! I feel dumb for not finding that.
>
> Guess I'd just suggest making the default `false`, seems more intuitive to
> me.
>
> On Mon, Oct 1, 2018 at 1:48 PM Zachary Ware <report at bugs.python.org>
> wrote:
>
>>
>> Zachary Ware <zachary.ware at gmail.com> added the comment:
>>
>> Would using `allow_abbrev=False` fix this for you?
>>
>> https://docs.python.org/3/library/argparse.html#allow-abbrev
>>
>> ----------
>> nosy: +zach.ware
>>
>> _______________________________________
>> Python tracker <report at bugs.python.org>
>> <https://bugs.python.org/issue34865>
>> _______________________________________
>>
>
>
> --
> Best,
> Rob Dalton
>
>
> (814) 571-0462 | robdalton.me | robcdalton at gmail.com
>

-- 
Best,
Rob Dalton

(814) 571-0462 | robdalton.me | robcdalton at gmail.com

----------

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue34865>
_______________________________________


More information about the Python-bugs-list mailing list