[issue20430] Make argparse.SUPPRESS work as an argument "dest"

2014-05-28 Thread jzwinck
jzwinck added the comment: Yes, I have a practical need for dest=SUPPRESS. One of the reasons is basically what you said: to implement things analogous to --help. In those cases you want to be able to invoke a function (e.g. via type=myfunc) but not store anything. Or you may need to

[issue20430] Make argparse.SUPPRESS work as an argument "dest"

2014-01-28 Thread jzwinck
Changes by jzwinck : -- title: argparse.SUPPRESS -> Make argparse.SUPPRESS work as an argument "dest" ___ Python tracker <http://bugs.pytho

[issue20430] argparse.SUPPRESS

2014-01-28 Thread jzwinck
New submission from jzwinck: argparse.SUPPRESS is a special object which can be used in various parts of argparse to say "do nothing." One place where it does not seem to work is in an argument's "dest". This is despite some of the plumbing using "dest=SUPPRES