[Python-Dev] argparse ambiguity handling (original) (raw)
Neal Becker ndbecker2 at gmail.com
Tue Apr 20 20:55:28 CEST 2010
- Previous message: [Python-Dev] Planning a Windows buildbot
- Next message: [Python-Dev] argparse ambiguity handling
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
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.
- Previous message: [Python-Dev] Planning a Windows buildbot
- Next message: [Python-Dev] argparse ambiguity handling
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]