A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from http://mail.python.org/pipermail/python-dev/2010-April/099583.html below:

[Python-Dev] argparse ambiguity handling

[Python-Dev] argparse ambiguity handling [Python-Dev] argparse ambiguity handlingSteven Bethard steven.bethard at gmail.com
Tue Apr 20 21:10:00 CEST 2010
On Tue, Apr 20, 2010 at 11:55 AM, Neal Becker <ndbecker2 at gmail.com> wrote:
> I've noticed argparse ambiguity handling has changed a bit over last few
> revisions.
>
> I have cases where 1 valid input is a prefix of another:
>
> e.g.:
> '--string'
> '--string2'
>
> With the most recent 1.1, the behavior is:
>
> --string=hello
>
> is accepted, while:
>
> --strin=hello
>
> is marked as ambiguous.
>
> I'm OK with this, but just want to know if there is agreement that this is
> the behavior we want.

I don't have a strong feeling about this. What was the behavior before?

Steve
-- 
Where did you get that preposterous hypothesis?
Did Steve tell you that?
        --- The Hiphopopotamus
More information about the Python-Dev mailing list

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4