Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #95980

Re: Python handles globals badly.

Date 2015-09-04 01:06 +0200
From "Sven R. Kunze" <srkunze@mail.de>
Subject Re: Python handles globals badly.
References <c3363$547e74fe$5419aafe$24179@news.ziggo.nl> <253e3584-1d4d-4e6f-b42f-2cdbfa4ad785@googlegroups.com>
Newsgroups comp.lang.python
Message-ID <mailman.104.1441321620.8327.python-list@python.org> (permalink)

Show all headers | View raw


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?

Back to comp.lang.python | Previous | NextPrevious in thread | Find similar | Unroll thread


Thread

Re: Python handles globals badly. tdev@freenet.de - 2015-09-02 15:25 -0700
  Re: Python handles globals badly. Ian Kelly <ian.g.kelly@gmail.com> - 2015-09-02 16:57 -0600
  Re: Python handles globals badly. Vladimir Ignatov <kmisoft@gmail.com> - 2015-09-02 20:16 -0400
  Re: Python handles globals badly. Mark Lawrence <breamoreboy@yahoo.co.uk> - 2015-09-03 02:10 +0100
  Re: Python handles globals badly. Mark Lawrence <breamoreboy@yahoo.co.uk> - 2015-09-03 02:15 +0100
  Re: Python handles globals badly. "Sven R. Kunze" <srkunze@mail.de> - 2015-09-04 01:06 +0200

csiph-web