Python handles globals badly.

Sven R. Kunze srkunze at mail.de
Thu Sep 3 19:06:46 EDT 2015


On 03.09.2015 00:25, tdev at 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?



More information about the Python-list mailing list