[Python-Dev] Python 2.7b1 and argparse's version action (original) (raw)

Tobias Herp Tobias.Herp at gmx.de
Mon Apr 19 02:09:47 CEST 2010


Steven Bethard schrieb:

On Sun, Apr 18, 2010 at 3:52 PM, Antoine Pitrou <solipsis at pitrou.net> wrote:

Steven Bethard <steven.bethard gmail.com> writes:

Note that even though I agree with you that "-v/--version" is probably not the best choice, in the poll[2] 11% of people still wanted this.

This strikes me as a small minority. Agreed, but it's also the current behavior, ...

The current /broken, non-standard/ behaviour.

For keeping a current status quo, this is an even worse poll. Very likely some of these voted for this choice because they were afraid of changes (unnecessarily, as explained before).

... and has been since the beginning of argparse.

It's not my fault that in the beginning apparently nobody cared about existing conventions.

Note that no one complained about it until Tobias filed the issue in Nov 06, 2009.

This is not an argument at all.

I have collected lots of examples of widely used programs and their options. The only example of '-v', '--verbose' is argparse. It is vital we meet user expectations, and that we support developers in producing programs that do so.

-- Tobias



More information about the Python-Dev mailing list