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/2006-May/064931.html below:

[Python-Dev] PEP 3102: Keyword-only arguments

[Python-Dev] PEP 3102: Keyword-only arguments [Python-Dev] PEP 3102: Keyword-only argumentsMike Orr sluggoster at gmail.com
Sun May 7 22:48:18 CEST 2006
On 5/7/06, Steven Bethard <steven.bethard at gmail.com> wrote:
> The most obvious one to me is the optparse module, where add_option
> takes all kinds of different keyword arguments, and there's really no
> intention of these ever being specified as positional arguments:
>     http://docs.python.org/lib/module-optparse.html

Or MySQLdb, which specifically recommends keyword arguments for the
constructor.  Mainly because the underlying library is controlled by a
third party, so it's unpredictable when and where new arguments will
be added.

(Not that I'm in favor of keyword-only arguments, for the reasons
Terry Reedy has mentioned.)

--
Mike Orr <sluggoster at gmail.com>
(mso at oz.net address is semi-reliable)
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