Path: csiph.com!usenet.pasdenom.info!nntpfeed.proxad.net!proxad.net!feeder1-2.proxad.net!news.tele.dk!news.tele.dk!small.news.tele.dk!newsgate.cistron.nl!newsgate.news.xs4all.nl!nzpost1.xs4all.net!not-for-mail Return-Path: X-Original-To: python-list@python.org Delivered-To: python-list@mail.python.org X-Spam-Status: OK 0.011 X-Spam-Evidence: '*H*': 0.98; '*S*': 0.00; 'subject:Python': 0.05; 'pointers': 0.09; 'received:80.91': 0.09; 'received:80.91.229': 0.09; 'received:gmane.org': 0.09; 'received:list': 0.09; 'python': 0.10; 'things.': 0.15; '(implemented': 0.16; '(well,': 0.16; 'received:80.91.229.3': 0.16; 'received:plane.gmane.org': 0.16; 'too).': 0.16; 'java': 0.22; 'variables.': 0.22; 'header:User- Agent:1': 0.26; 'header:X-Complaints-To:1': 0.26; 'chris': 0.26; 'see,': 0.27; "can't": 0.32; 'received:comcast.net': 0.33; 'should': 0.36; 'to:addr:python-list': 0.36; 'subject:: ': 0.37; 'received:org': 0.37; 'things': 0.38; 'names': 0.38; 'represent': 0.38; 'to:addr:python.org': 0.40; 'here.': 0.62; "they're": 0.66; 'therefore': 0.67; 'special': 0.73; 'square': 0.76; 'batchelder': 0.84; 'circles': 0.84 X-Injected-Via-Gmane: http://gmane.org/ To: python-list@python.org From: Random832 Subject: Re: Python handles globals badly. Date: Sat, 12 Sep 2015 02:25:01 -0400 References: <14afe27e-0bd5-410f-8e64-0f31d496ebf2@googlegroups.com> <55F36B4C.9020007@gmail.com> <1442016698.95299.381478313.2487CA0E@webmail.messagingengine.com> Mime-Version: 1.0 Content-Type: text/plain X-Gmane-NNTP-Posting-Host: c-68-39-146-59.hsd1.in.comcast.net User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.5 (darwin) Cancel-Lock: sha1:slvkh2iK/DCpnqVi+Oi7idNz5b4= X-BeenThere: python-list@python.org X-Mailman-Version: 2.1.20+ 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: 11 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1442039111 news.xs4all.nl 23865 [2001:888:2000:d::a6]:40006 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:96413 Chris Angelico writes: > Here. Ned Batchelder explains it better than I can. See, those diagrams are perfect (well, almost, I think the names should have square boxes too). They're arrows. They *point* at things. *Pointers*. The boxes are variables. The circles represent special boxes (implemented in C or Java or whatever) that hold things other than pointers and therefore can't be used as Python variables.