[Python-Dev] argparse suggestion

Eric Smith eric at trueblade.com
Mon Apr 26 19:39:15 CEST 2010


Sounds good to me (subject to arguing about spellings, case 
insensitivity, etc.). Just so it doesn't get lost, I created issue 8538 
to track it.

Neal Becker wrote:
> steven.bethard at gmail.com made a very nice module for me to enhance argparse 
> called argparse_bool.py, which contains ConfigureAction.  This will allow a 
> boolean value to be set very like the gnu configure style:
> 
> --foo
> --with-foo
> --without-foo
> --no-foo
> --foo=yes
> --foo=no
> 
> I've been happily using it, and I think it would be of sufficient general 
> interest to include it with the standard library.
> 
> 
> 
> ------------------------------------------------------------------------
> 
> _______________________________________________
> Python-Dev mailing list
> Python-Dev at python.org
> http://mail.python.org/mailman/listinfo/python-dev
> Unsubscribe: http://mail.python.org/mailman/options/python-dev/eric%2Ba-python-dev%40trueblade.com


-- 
Eric.


More information about the Python-Dev mailing list