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: 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; '>': 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 Date: Thu, 11 Dec 2014 11:03:11 -0700 Subject: Re: How to detect that a function argument is the default one To: Python 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 List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Newsgroups: comp.lang.python Message-ID: 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 --001a113334965053b00509f49949 Content-Type: text/plain; charset=UTF-8 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. --001a113334965053b00509f49949 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
On Thu, Dec 11, 2014 at 3:02 AM, Jean-Michel Pichavant <= ;jeanmichel@sequans.com> w= rote:
> I would advise to remove the the mass parameter of your Spher= e initialization. It could be inconsistent with the radius.
> To comp= ute the mass you would need the radius and the =C2=A0volumetric mass densit= y.

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