Re: [Python-Dev] add bool type to optparse

2007-07-31 Thread A.M. Kuchling
On Mon, Jul 30, 2007 at 09:50:38AM -0400, Neal Becker wrote: Subject says it all. Why is boolean support needed, given that optparse has store_true and store_false actions? Example usage: parser.add_option('--confirm', action='store_true', dest='confirm') --amk

Re: [Python-Dev] add bool type to optparse

2007-07-31 Thread Neal Becker
A.M. Kuchling wrote: On Mon, Jul 30, 2007 at 09:50:38AM -0400, Neal Becker wrote: Subject says it all. Why is boolean support needed, given that optparse has store_true and store_false actions? Example usage: parser.add_option('--confirm', action='store_true', dest='confirm')

Re: [Python-Dev] add bool type to optparse

2007-07-31 Thread Guido van Rossum
Why not submit a patch to Greg Ward? http://optik.sourceforge.net/ On 7/31/07, Neal Becker [EMAIL PROTECTED] wrote: A.M. Kuchling wrote: On Mon, Jul 30, 2007 at 09:50:38AM -0400, Neal Becker wrote: Subject says it all. Why is boolean support needed, given that optparse has store_true

[Python-Dev] add bool type to optparse

2007-07-30 Thread Neal Becker
Subject says it all. ___ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailman/listinfo/python-dev Unsubscribe: http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com