Path: csiph.com!x330-a1.tempe.blueboxinc.net!usenet.pasdenom.info!gegeweb.org!de-l.enfer-du-nord.net!feeder1.enfer-du-nord.net!feeder.news-service.com!feeder.news-service.com!newsfeed.xs4all.nl!newsfeed5.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.003 X-Spam-Evidence: '*H*': 0.99; '*S*': 0.00; 'int': 0.05; 'names.': 0.07; 'python': 0.08; 'pearson': 0.09; 'subject:parameters': 0.09; '>>>': 0.12; 'def': 0.12; 'am,': 0.14; 'wrote:': 0.14; 'finney': 0.16; 'subject:function': 0.16; '\xc3\xa9crit': 0.16; 'cc:addr :python-list': 0.17; 'mon,': 0.17; 'cheers,': 0.19; 'header:In- Reply-To:1': 0.21; 'cc:2**0': 0.22; 'cc:no real name:2**0': 0.23; '(though': 0.23; 'objects': 0.23; 'missed': 0.26; 'object': 0.26; 'example': 0.27; 'message-id:@mail.gmail.com': 0.28; 'cc:addr:python.org': 0.30; "i've": 0.33; '...': 0.34; 'chris': 0.34; 'received:google.com': 0.37; 'something': 0.37; 'received:74.125': 0.38; 'could': 0.38; 'subject:: ': 0.38; 'here.': 0.69; 'skip:\xe2 10': 0.72; '30,': 0.84; '12:12': 0.84; 'sender:addr:chris': 0.84 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=rebertia.com; s=google; h=domainkey-signature:mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=j2IifFJpxyw7kB4xK7ttQCzq9ANW9NCLtjGyUL7hf9o=; b=KiqU+O2/3MgzwAAfriGnuqMrt57738S1TNwM370O2XqRUQ5h1YdEtjGBQSGvjj9pKT SFmjsS7KisJ+t6V1ftRJIht4MXOqmPNq068bO4aRJwduEwoq8TGn2piosAMyoRRaFnDo JfYn2uqQjeZkalriyYtgDYmCsWBlOou7icl/o= DomainKey-Signature: a=rsa-sha1; c=nofws; d=rebertia.com; s=google; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type :content-transfer-encoding; b=RGRh3dx7hEemTtdvUUajO7cqrAMKRVbpd3yePUcnKS8vFr5spuaOVoM6KnPFiG2OUU UkkYgeRQ8pQpNJGYeUYsKLjgGDtteH/1ek/Y8MkeQGX8iohuQ9AwpYRqUizTBwiExMy2 kaKt/cYgXALGvoG5Nlc5ARI+Wak3cdiSeae+I= MIME-Version: 1.0 Sender: chris@rebertia.com In-Reply-To: References: <94fdk7FihlU1@mid.individual.net> <87tycd89qc.fsf@benfinney.id.au> Date: Mon, 30 May 2011 00:27:17 -0700 X-Google-Sender-Auth: ncNM5E3-Klv94BJ6m8p5zf4xYi4 Subject: Re: scope of function parameters From: Chris Rebert To: Laurent Claessens Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable 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: 24 NNTP-Posting-Host: 82.94.164.166 X-Trace: 1306740446 news.xs4all.nl 49174 [::ffff:82.94.164.166]:57169 X-Complaints-To: abuse@xs4all.nl Xref: x330-a1.tempe.blueboxinc.net comp.lang.python:6632 On Mon, May 30, 2011 at 12:12 AM, Laurent Claessens w= rote: > Le 29/05/2011 23:42, Ben Finney a =C3=A9crit : >> Peter Pearson =C2=A0writes: >> >>> =C2=A0Python works in terms of objects having names, and one >>> =C2=A0object can have many names. >> >> Or no names. So it's less accurate (though better than talking of >> =E2=80=9Cvariables=E2=80=9D) to speak of Python objects =E2=80=9Chaving = names=E2=80=9D. > > Could you give an example of an object that has no name ? I've missed > something ... def foo(): return 5 print(foo()) The int object 5 has no name here. Cheers, Chris