Issue 8539: Add ConfigureAction to argparse (original) (raw)

Issue8539

Created on 2010-04-26 17:38 by eric.smith, last changed 2022-04-11 14:57 by admin. This issue is now closed.

Files
File name Uploaded Description Edit
argparse_bool.py eric.smith,2010-04-26 17:38
Messages (1)
msg104260 - (view) Author: Eric V. Smith (eric.smith) * (Python committer) Date: 2010-04-26 17:38
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
2022-04-11 14:57:00 admin set github: 52785
2010-04-26 17:38:44 eric.smith set status: open -> closedresolution: duplicate
2010-04-26 17:38:10 eric.smith create