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


Groups > comp.lang.python > #82368

Re: How to detect that a function argument is the default one

Path csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!eternal-september.org!feeder.eternal-september.org!feeds.phibee-telecom.net!newsfeed.xs4all.nl!newsfeed4a.news.xs4all.nl!xs4all!post.news.xs4all.nl!not-for-mail
Return-Path <ian.g.kelly@gmail.com>
X-Original-To python-list@python.org
Delivered-To python-list@mail.python.org
X-Spam-Status OK 0.052
X-Spam-Evidence '*H*': 0.90; '*S*': 0.00; 'parameter': 0.09; 'subject:How': 0.10; 'assume': 0.14; 'compute': 0.16; 'subject:default': 0.16; 'wrote:': 0.18; 'thu,': 0.19; '&gt;': 0.26; 'header:In-Reply-To:1': 0.27; 'am,': 0.29; 'dec': 0.30; 'message-id:@mail.gmail.com': 0.30; 'subject:that': 0.31; 'subject:the': 0.34; 'could': 0.34; 'equal': 0.35; 'received:google.com': 0.35; 'mass': 0.36; 'subject:one': 0.36; 'area': 0.37; 'skip:& 10': 0.38; 'to:addr:python-list': 0.38; 'to:addr:python.org': 0.39; 'remove': 0.60; 'units': 0.60; 'density': 0.84
DKIM-Signature v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :content-type; bh=e8A0CI+qJ5A1aj4yVWJnNevGLoibHESLU5S7TR01Lv0=; b=LIUKtOoEO+9GUcsIbhVIU05J+yr2Fb8+LDLSub6N7E7iglIYrpJ/pD7sCrV81TbaGx 4AOQ+i1SzAflrO4z5Oc27AlVjUsCnruEM4SuJwnXnE9xuTDRsBNH2lsXtkdqbaAWd7J4 CdbL9FOgSpyJII3ve8sqQOFL2IHwnluIp1Q6HeudEGttMomLVBjW+tkhL9ucjMKNHkaM l3eW+tFn91zlqVVMSxSX9m12D2dwIUo/FNsVYDAJI8F7biW0pLJmG8Es/Li5t8Fa+XEO M0e7ZHtSTv2ujb4C5Osxae+VwsRE2Z8OS4KnwIFFI/1c3pqyZxSlMw5TiF76KNu+7IOu 9Gkg==
X-Received by 10.70.134.36 with SMTP id ph4mr19250517pdb.29.1418321032400; Thu, 11 Dec 2014 10:03:52 -0800 (PST)
MIME-Version 1.0
In-Reply-To <1536593980.5584348.1418292165752.JavaMail.root@sequans.com>
References <5488b874$0$2890$426a34cc@news.free.fr> <1536593980.5584348.1418292165752.JavaMail.root@sequans.com>
From Ian Kelly <ian.g.kelly@gmail.com>
Date Thu, 11 Dec 2014 11:03:11 -0700
Subject Re: How to detect that a function argument is the default one
To Python <python-list@python.org>
Content-Type multipart/alternative; boundary=001a113334965053b00509f49949
X-BeenThere python-list@python.org
X-Mailman-Version 2.1.15
Precedence list
List-Id General discussion list for the Python programming language <python-list.python.org>
List-Unsubscribe <https://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 <https://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe>
Newsgroups comp.lang.python
Message-ID <mailman.16860.1418321042.18130.python-list@python.org> (permalink)
Lines 27
NNTP-Posting-Host 2001:888:2000:d::a6
X-Trace 1418321042 news.xs4all.nl 2963 [2001:888:2000:d::a6]:35627
X-Complaints-To abuse@xs4all.nl
Xref csiph.com comp.lang.python:82368

Show key headers only | View raw


[Multipart message — attachments visible in raw view] - view raw

On Thu, Dec 11, 2014 at 3:02 AM, Jean-Michel Pichavant <
jeanmichel@sequans.com> wrote:
> I would advise to remove the the mass parameter of your Sphere
initialization. It could be inconsistent with the radius.
> To compute the mass you would need the radius and the  volumetric mass
density.

You assume a three-dimensional universe. Clearly this is a two-dimensional
"ball" with a density equal to pi/2 mass units per area unit.

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


Thread

How to detect that a function argument is the default one "ast" <nomail@invalid.com> - 2014-12-10 16:14 +0100
  Re: How to detect that a function argument is the default one Skip Montanaro <skip.montanaro@gmail.com> - 2014-12-10 09:29 -0600
    Re: How to detect that a function argument is the default one "ast" <nomail@invalid.com> - 2014-12-10 16:45 +0100
    Re: How to detect that a function argument is the default one Marko Rauhamaa <marko@pacujo.net> - 2014-12-10 18:33 +0200
  Re: How to detect that a function argument is the default one Chris Angelico <rosuav@gmail.com> - 2014-12-11 03:16 +1100
    Re: How to detect that a function argument is the default one wxjmfauth@gmail.com - 2014-12-10 12:08 -0800
    Re: How to detect that a function argument is the default one "ast" <nomail@invalid.com> - 2014-12-10 22:17 +0100
      Re: How to detect that a function argument is the default one Ian Kelly <ian.g.kelly@gmail.com> - 2014-12-11 11:03 -0700
      Re: How to detect that a function argument is the default one Ian Kelly <ian.g.kelly@gmail.com> - 2014-12-11 11:07 -0700
  Re: How to detect that a function argument is the default one Ned Batchelder <ned@nedbatchelder.com> - 2014-12-10 11:19 -0500
  Re: How to detect that a function argument is the default one Ian Kelly <ian.g.kelly@gmail.com> - 2014-12-10 09:20 -0700
  Re: How to detect that a function argument is the default one Tony the Tiger <tony@tiger.invalid> - 2014-12-11 19:45 +0000
    Re: How to detect that a function argument is the default one Ben Finney <ben+python@benfinney.id.au> - 2014-12-12 10:03 +1100

csiph-web