[Python-Dev] argparse ambiguity handling (original) (raw)

Jon Ribbens jon+python-dev at unequivocal.co.uk
Tue Apr 20 21:54:32 CEST 2010


On Tue, Apr 20, 2010 at 03:27:53PM -0400, Neal Becker wrote:

I have a preference to allow at least exact matches to succeed even in the case of ambiguity - mainly because I accidentally created this already once, and I feel it's better to at least work somewhat. Not sure if there is any more elegant solution. OTOH, I feel this is somewhat inelegant, as it appears to treat exact match as a special case.

Surely an exact match is a special case - it's an exact match!



More information about the Python-Dev mailing list