This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author eric.smith
Recipients bethard, eric.smith
Date 2010-04-26.17:38:10
SpamBayes Score 0.0017971473
Marked as misclassified No
Message-id <1272303491.8.0.482178644573.issue8539@psf.upfronthosting.co.za>
In-reply-to
Content
From a python-dev email from Neal Becker, copied here so it won't get lost.
----------------------------
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 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.
History
Date User Action Args
2010-04-26 17:38:12eric.smithsetrecipients: + eric.smith, bethard
2010-04-26 17:38:11eric.smithsetmessageid: <1272303491.8.0.482178644573.issue8539@psf.upfronthosting.co.za>
2010-04-26 17:38:10eric.smithlinkissue8539 messages
2010-04-26 17:38:10eric.smithcreate