Re: [Python-Dev] argparse suggestion

2010-04-26 Thread Eric Smith
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.beth...@gmail.com made a very nice module for me to enhance argparse called argparse_bool.py, which contains ConfigureActio

Re: [Python-Dev] argparse suggestion

2010-04-26 Thread Barry Warsaw
On Apr 26, 2010, at 08:20 AM, Neal Becker wrote: >steven.beth...@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-f

Re: [Python-Dev] argparse suggestion

2010-04-26 Thread Antoine Pitrou
Senthil Kumaran gmail.com> writes: > > On Mon, Apr 26, 2010 at 08:20:10AM -0400, Neal Becker wrote: > > steven.bethard gmail.com made a very nice module for me to enhance argparse > > called argparse_bool.py, which contains ConfigureAction. This will allow a > > Would not it be a feature enh

Re: [Python-Dev] argparse suggestion

2010-04-26 Thread Senthil Kumaran
On Mon, Apr 26, 2010 at 08:20:10AM -0400, Neal Becker wrote: > steven.beth...@gmail.com made a very nice module for me to enhance argparse > called argparse_bool.py, which contains ConfigureAction. This will allow a Would not it be a feature enhancement request against argparse.py itself? In th

[Python-Dev] argparse suggestion

2010-04-26 Thread Neal Becker
steven.beth...@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 i