New submission from Eric Smith <e...@trueblade.com>:

>From a python-dev email from Neal Becker, copied here so it won't get lost.
----------------------------
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 it, and I think it would be of sufficient general 
interest to include it with the standard library.

----------
components: Library (Lib)
files: argparse_bool.py
messages: 104259
nosy: bethard, eric.smith
severity: normal
status: open
title: Add ConfigureAction to argparse
type: feature request
versions: Python 3.2
Added file: http://bugs.python.org/file17100/argparse_bool.py

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue8538>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to