Singleton

Steven D'Aprano steve at REMOVE-THIS-cybersource.com.au
Wed Oct 10 15:39:29 CEST 2007


On Wed, 10 Oct 2007 09:36:56 +0000, pythoncurious wrote:

> So how do people solve this? Is there an obvious way that I missed?

Mostly by avoiding singletons. Why do you need only one instance? Perhaps 
you should consider the Borg pattern instead.

http://aspn.activestate.com/ASPN/Cookbook/Python/Recipe/66531



-- 
Steven



More information about the Python-list mailing list