A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://mail.python.org/pipermail/python-dev/2010-April/099599.html below:

[Python-Dev] Python 2.7b1 and argparse's version action

[Python-Dev] Python 2.7b1 and argparse's version action [Python-Dev] Python 2.7b1 and argparse's version action"Martin v. Löwis" martin at v.loewis.de
Wed Apr 21 00:31:14 CEST 2010
Nick Coghlan wrote:
> Tobias Herp wrote:
>> No deprecation or removal of the simple and convenient 'version'
>> argument is needed for this.  Just omit it, and build your version
>> action yourself.  But please notice that there are others who appreciate
>> this simple way to do it and don't need more.
> 
> One Obvious Way.
> 
> In this case, the ambiguity of the "version=" argument is sufficient to
> elevate it to the level of "attractive nuisance" (particularly given the
> legacy behaviour of conflicting with typical verbosity options). The
> default help for the action needs to be fixed, and there are a couple of
> documentation tweaks to be made, but Steven's decision to remove the
> feature has a sound rationale.

Exactly my feelings. IMO, straight removal would be fine as well, but a
deprecation may be more user-friendly, wrt. the existing code base.

Regards,
Martin
More information about the Python-Dev mailing list

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4