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

Issue8537

Created on 2010-04-26 17:36 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:36
Messages (2)
msg104258 - (view) Author: Eric V. Smith (eric.smith) * (Python committer) Date: 2010-04-26 17:36
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.
msg104264 - (view) Author: Eric V. Smith (eric.smith) * (Python committer) Date: 2010-04-26 17:46
Sorry for the dupes. My ISP keeps disconnecting, but apparently it was able to create this issue 3 times for me.
History
Date User Action Args
2022-04-11 14:57:00 admin set github: 52783
2012-05-29 13:22:59 devurandom set nosy: + devurandom
2010-04-26 17:46:45 eric.smith set status: open -> closedresolution: duplicatemessages: +
2010-04-26 17:36:32 eric.smith create