Path: csiph.com!x330-a1.tempe.blueboxinc.net!usenet.pasdenom.info!weretis.net!feeder4.news.weretis.net!newsreader4.netcologne.de!news.netcologne.de!xlned.com!feeder5.xlned.com!newsfeed.xs4all.nl!newsfeed6.news.xs4all.nl!xs4all!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail Return-Path: X-Original-To: python-list@python.org Delivered-To: python-list@mail.python.org X-Spam-Status: OK 0.083 X-Spam-Evidence: '*H*': 0.84; '*S*': 0.00; 'terry': 0.07; 'reedy': 0.16; 'subject:syntax': 0.16; 'cc:addr:python-list': 0.16; 'wrote:': 0.18; 'cc:no real name:2**0': 0.20; 'header:In-Reply- To:1': 0.22; 'received:209.85.212.46': 0.23; 'received:mail- vw0-f46.google.com': 0.23; 'cc:2**0': 0.24; 'fact': 0.27; 'message-id:@mail.gmail.com': 0.28; 'cc:addr:python.org': 0.29; 'hours,': 0.30; 'received:209.85.212': 0.34; 'received:google.com': 0.37; 'received:209.85': 0.38; 'should': 0.39; 'week.': 0.40; 'received:209': 0.40; '2011': 0.61; 'day': 0.69; 'funny': 0.76; 'calculations': 0.84; 'huh?': 0.84 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=rvx4mcMRh1G/LZBkiQK0yI3VSzXbHXSu0pO5KOsDAEU=; b=ky/Q6KPlyzx1fg0LYBovQB2J9DRIEqSV8QjSw1d0D8xddv0TpG/QNkLOqpZzRFQ6X7 D4mpwuAgLRC0TSfB5FWXWNeiVamVX6IZ5h/vwBs5052oueceblnARdKbKzpYtG5M8Y2e wwmQRue6PE9HtLNNGKCqXd6SAFQCIs8lqNJss= MIME-Version: 1.0 In-Reply-To: References: <4ee554a3$0$11091$c3e8da3@news.astraweb.com> <9klr6aF2ovU1@mid.individual.net> Date: Mon, 12 Dec 2011 16:15:05 +0000 Subject: Re: Verbose and flexible args and kwargs syntax From: Arnaud Delobelle To: Terry Reedy Content-Type: text/plain; charset=UTF-8 Cc: python-list@python.org X-BeenThere: python-list@python.org X-Mailman-Version: 2.1.12 Precedence: list List-Id: General discussion list for the Python programming language List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Newsgroups: comp.lang.python Message-ID: Lines: 12 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1323706508 news.xs4all.nl 6974 [2001:888:2000:d::a6]:47057 X-Complaints-To: abuse@xs4all.nl Xref: x330-a1.tempe.blueboxinc.net comp.lang.python:17056 On 12 December 2011 15:36, Terry Reedy wrote: > Huh? Funny you should say 'everyday'. It is now 10 o'clock. In 20 hours, it > will be (10+20) % 12 == 6 o'clock. It is now day 1 of the week. In 9 days it > will be day (1+9) % 7 == 3 of the week. Mental calculations are helped by > the fact that (a+b) % c == a%c + b%c You mean (a + b) % c == (a%c + b%c) % c :) -- Arnaud