Path: csiph.com!goblin1!goblin.stu.neva.ru!uio.no!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.033 X-Spam-Evidence: '*H*': 0.93; '*S*': 0.00; 'subject:Python': 0.05; '(so': 0.07; 'python': 0.10; '"global"': 0.16; 'wrote:': 0.16; 'language': 0.19; 'header:In-Reply-To:1': 0.24; 'header:User- Agent:1': 0.26; 'idea': 0.28; 'classes': 0.30; 'except': 0.34; 'received:10.0': 0.34; 'so,': 0.35; 'modules': 0.36; 'to:addr :python-list': 0.36; 'subject:: ': 0.37; 'received:10': 0.37; 'really': 0.37; 'to:addr:python.org': 0.40; 'received:de': 0.40; 'some': 0.40; 'charset:windows-1252': 0.62; 'therefore': 0.67 Date: Fri, 04 Sep 2015 01:06:46 +0200 From: "Sven R. Kunze" User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.7.0 MIME-Version: 1.0 To: python-list@python.org Subject: Re: Python handles globals badly. References: <253e3584-1d4d-4e6f-b42f-2cdbfa4ad785@googlegroups.com> In-Reply-To: <253e3584-1d4d-4e6f-b42f-2cdbfa4ad785@googlegroups.com> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit X-purgate: clean X-purgate: This mail is considered clean (visit http://www.eleven.de for further information) X-purgate-type: clean X-purgate-Ad: Categorized by eleven eXpurgate (R) http://www.eleven.de X-purgate: This mail is considered clean (visit http://www.eleven.de for further information) X-purgate: clean X-purgate-size: 345 X-purgate-ID: 154282::1441321613-00000778-40645AC4/0/0 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: 6 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1441321620 news.xs4all.nl 23748 [2001:888:2000:d::a6]:57992 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:95980 On 03.09.2015 00:25, tdev@freenet.de wrote: > It is the good idea of Python about modules which are singletons > and therefore have already its state (so in some way they are already somehow > like classes - except the bad annoying thing with the "global" statement). So, what you really want is a better language support for singletons?