[Python-Dev] argparse suggestion
Barry Warsaw
barry at python.org
Mon Apr 26 17:40:05 CEST 2010
On Apr 26, 2010, at 08:20 AM, 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.
+1. This would be a very nice addition to argparse in the stdlib.
-Barry
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: not available
URL: <http://mail.python.org/pipermail/python-dev/attachments/20100426/0c7f1691/attachment-0001.pgp>
More information about the Python-Dev
mailing list