Path: csiph.com!x330-a1.tempe.blueboxinc.net!usenet.pasdenom.info!aioe.org!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.005 X-Spam-Evidence: '*H*': 0.99; '*S*': 0.00; 'subject:Python': 0.06; '21,': 0.09; 'pm,': 0.10; 'received:209.85.214.174': 0.14; 'received:mail-iw0-f174.google.com': 0.14; 'wrote:': 0.14; '*binding*': 0.16; 'finney': 0.16; 'from:addr:rosuav': 0.16; 'from:name:chris angelico': 0.16; 'variable.': 0.16; 'tue,': 0.17; 'header:In-Reply-To:1': 0.21; 'message-id:@mail.gmail.com': 0.28; 'received:209.85.214': 0.28; 'binding': 0.30; 'to:addr:python- list': 0.33; 'else': 0.35; 'rules': 0.37; 'received:google.com': 0.37; 'received:209.85': 0.37; 'anything': 0.38; 'subject:: ': 0.38; 'received:209': 0.39; 'to:addr:python.org': 0.39; 'exact': 0.65 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:in-reply-to:references:date :message-id:subject:from:to:content-type; bh=B3DSKCU6Yhz17+CECB0ceOr30SNxS/RqGBSTC3Y021U=; b=GYQBy+u1RWO1hBgrPhHjq+55WIZHgjI4D9ks9e1ZGZQUM4KBNWU6JVvxIhgxr7ZBh9 urqdn6OcSsNGtVsxWNjcdrBEz4UCpE5Re4BJSpkjhQtfuyaXzk7k85U7irlUO4KqVZh1 Mv3U7bq531C0L4HZNQD+hhxqwxUkL2f+5zlzQ= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; b=osotf9PpDVkXeJgjhZfJ1L5G0U0WdTgRY+pDLCCSglTVXr8r9wNEnU9ampIVnRXtc4 YLgjvbYmok0iydMdrMSXMGassiTBC1BSXqG919drrHm9l97cPDre53xaOzB2ocbo9zKQ mgCyBbjCjmeGDVzdkENoHiLIyT5R93R2f22uQ= MIME-Version: 1.0 In-Reply-To: <87aadbrjrh.fsf@benfinney.id.au> References: <2f69dda9-9532-4fd1-af06-ba85cc2a0e33@v5g2000yqn.googlegroups.com> <87ei2oqaqe.fsf@benfinney.id.au> <87aadbrjrh.fsf@benfinney.id.au> Date: Tue, 21 Jun 2011 13:21:18 +1000 Subject: Re: Python scoping From: Chris Angelico To: python-list@python.org Content-Type: text/plain; charset=ISO-8859-1 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: 9 NNTP-Posting-Host: 82.94.164.166 X-Trace: 1308626481 news.xs4all.nl 49048 [::ffff:82.94.164.166]:49324 X-Complaints-To: abuse@xs4all.nl Xref: x330-a1.tempe.blueboxinc.net comp.lang.python:8062 On Tue, Jun 21, 2011 at 12:38 PM, Ben Finney wrote: > The *binding* is scoped. > And the binding follows the exact same rules as anything else would. It has scope and visibility. In terms of the OP, the binding IS like a variable. ChrisA