Path: csiph.com!news.mixmin.net!feeds.phibee-telecom.net!newsfeed.xs4all.nl!newsfeed7.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.007 X-Spam-Evidence: '*H*': 0.99; '*S*': 0.00; 'subject:Python': 0.05; 'from:addr:yahoo.co.uk': 0.05; 'received:80.91': 0.09; 'received:80.91.229': 0.09; 'received:gmane.org': 0.09; 'received:list': 0.09; '*before*': 0.16; 'escapes': 0.16; 'received:80.91.229.3': 0.16; 'received:plane.gmane.org': 0.16; 'shooting': 0.16; 'wrote:': 0.16; 'language': 0.19; 'lawrence': 0.22; 'second': 0.24; 'header:In-Reply-To:1': 0.24; 'header:User- Agent:1': 0.26; 'header:X-Complaints-To:1': 0.26; 'var': 0.27; 'function': 0.28; 'code': 0.30; 'language.': 0.32; 'point': 0.33; 'problem.': 0.35; 'keyword': 0.36; 'to:addr:python-list': 0.36; 'subject:: ': 0.37; 'really': 0.37; 'agree': 0.37; 'received:org': 0.37; 'to:addr:python.org': 0.40; 'mark': 0.40; 'chance': 0.60; 'your': 0.60; 'charset:windows-1252': 0.62; 'our': 0.64; 'yourself': 0.73; 'pythonistas,': 0.84 X-Injected-Via-Gmane: http://gmane.org/ To: python-list@python.org From: Mark Lawrence Subject: Re: Python handles globals badly. Date: Wed, 2 Sep 2015 22:19:15 +0100 References: <86fa425b-d660-45ba-b0f7-3beebdec8e14@googlegroups.com> Mime-Version: 1.0 Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit X-Gmane-NNTP-Posting-Host: 195.147.66.69 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:38.0) Gecko/20100101 Thunderbird/38.2.0 In-Reply-To: <86fa425b-d660-45ba-b0f7-3beebdec8e14@googlegroups.com> 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: 19 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1441228777 news.xs4all.nl 23770 [2001:888:2000:d::a6]:35233 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:95897 On 02/09/2015 19:47, tdev@freenet.de wrote: > I agree with Skybuck Flying. First problem. > Using the keyword global inside each(!) function only > to mark the global var writeable in each of the functions > is really an over-regulation and very annoying from my point of view. > Second problem. Any chance of shooting yourself *BEFORE* your code escapes from the laboratory? -- My fellow Pythonistas, ask not what our language can do for you, ask what you can do for our language. Mark Lawrence