Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #17022

Re: Verbose and flexible args and kwargs syntax

Path csiph.com!x330-a1.tempe.blueboxinc.net!usenet.pasdenom.info!gegeweb.org!de-l.enfer-du-nord.net!feeder1.enfer-du-nord.net!cs.uu.nl!news.stack.nl!newsfeed.xs4all.nl!newsfeed5.news.xs4all.nl!xs4all!post.news.xs4all.nl!not-for-mail
Return-Path <python-python-list@m.gmane.org>
X-Original-To python-list@python.org
Delivered-To python-list@mail.python.org
X-Spam-Status OK 0.001
X-Spam-Evidence '*H*': 1.00; '*S*': 0.00; 'context': 0.04; 'received:verizon.net': 0.07; 'tab': 0.07; 'terry': 0.07; 'argument,': 0.09; 'googling': 0.09; 'received:80.91': 0.09; 'received:80.91.229': 0.09; 'received:80.91.229.12': 0.09; 'received:gmane.org': 0.09; 'received:list': 0.09; 'received:lo.gmane.org': 0.09; 'contrary,': 0.16; 'docs,': 0.16; 'gonna': 0.16; 'lookup': 0.16; 'really.': 0.16; 'reedy': 0.16; 'subject:syntax': 0.16; 'language': 0.17; 'wrote:': 0.18; 'jan': 0.19; 'seems': 0.20; 'header:In-Reply-To:1': 0.22; 'happen.': 0.23; 'index': 0.24; 'windows': 0.26; 'function': 0.27; 'sorry,': 0.29; 'second': 0.29; 'pm,': 0.29; 'context,': 0.30; 'version': 0.32; 'minor': 0.32; 'header:User-Agent:1': 0.33; 'this.': 0.33; 'header:X-Complaints-To:1': 0.33; 'there': 0.33; 'done': 0.34; 'to:addr:python-list': 0.34; 'symbol': 0.34; 'two': 0.37; 'but': 0.37; 'entry': 0.37; 'reference': 0.37; 'could': 0.37; 'using': 0.38; 'received:org': 0.38; 'seeing': 0.38; 'put': 0.38; 'finding': 0.39; 'being': 0.39; 'focus': 0.39; 'help': 0.39; 'third': 0.40; 'to:addr:python.org': 0.40; 'type': 0.61; 'your': 0.61; 'you.': 0.63; 'google.': 0.64; 'article': 0.74; 'bottom,': 0.84; 'oneself': 0.93
X-Injected-Via-Gmane http://gmane.org/
To python-list@python.org
From Terry Reedy <tjreedy@udel.edu>
Subject Re: Verbose and flexible args and kwargs syntax
Date Mon, 12 Dec 2011 03:29:53 -0500
References <4EE54272.8000005@gmail.com>
Mime-Version 1.0
Content-Type text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding 7bit
X-Gmane-NNTP-Posting-Host pool-74-109-121-73.phlapa.fios.verizon.net
User-Agent Mozilla/5.0 (Windows NT 6.1; WOW64; rv:8.0) Gecko/20111105 Thunderbird/8.0
In-Reply-To <4EE54272.8000005@gmail.com>
X-BeenThere python-list@python.org
X-Mailman-Version 2.1.12
Precedence list
List-Id General discussion list for the Python programming language <python-list.python.org>
List-Unsubscribe <http://mail.python.org/mailman/options/python-list>, <mailto:python-list-request@python.org?subject=unsubscribe>
List-Archive <http://mail.python.org/pipermail/python-list>
List-Post <mailto:python-list@python.org>
List-Help <mailto:python-list-request@python.org?subject=help>
List-Subscribe <http://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe>
Newsgroups comp.lang.python
Message-ID <mailman.3533.1323678609.27778.python-list@python.org> (permalink)
Lines 29
NNTP-Posting-Host 2001:888:2000:d::a6
X-Trace 1323678609 news.xs4all.nl 6861 [2001:888:2000:d::a6]:57434
X-Complaints-To abuse@xs4all.nl
Xref x330-a1.tempe.blueboxinc.net comp.lang.python:17022

Show key headers only | View raw


On 12/11/2011 6:53 PM, Eelco Hoogendoorn wrote:
>> There are other means of finding information than Google. Really.
>
> This is really only a very minor point in my argument, so I dont want to
> put the focus on this.

On the contrary, it is a major point. You want us to change the language 
so you can program by Google. Sorry, aint't gonna happen.

> Googling 'myprogramminglanguage conceptimtryingtofigureout' is my first,
> second and third line of defence. Yes, I could read the reference manual
> from top to bottom, and if I already knew about the existence of your
> article then im sure that would be a great help too.

You left out skimming the table of contents and using the index. On the 
Windows version of the docs, one can just type the entry wanted in the 
entry box on the Index tab and the lookup is done for you. Two chars to 
type for '**'.

> But the situation
> one finds oneself in is seeing two asterikses and not even being aware
> they are particular to function definitions/invocations.

If you find a symbol in a particular context, the entry for the context 
seems a reasonable place to start.

-- 
Terry Jan Reedy

Back to comp.lang.python | Previous | Next | Find similar | Unroll thread


Thread

Re: Verbose and flexible args and kwargs syntax Terry Reedy <tjreedy@udel.edu> - 2011-12-12 03:29 -0500

csiph-web