Brain Dead Singleton

Colin Brown cbrown at metservice.com
Sat Jun 5 02:09:41 EDT 2004


"Kamilche" <klachemin at home.com> wrote in message
news:889cbba0.0406041333.10402447 at posting.google.com...
> I looked on this newsgroup, and saw all the problems with making a
> Singleton class with Python.

Whenever I want a singleton "class", I just use a module with functions and
global variables. Modules only import once.

Colin Brown
PyNZ






More information about the Python-list mailing list