Carl Banks pavlovevidence at
Wed Oct 10 15:57:15 CEST 2007

On Oct 10, 9:39 am, Steven D'Aprano <st... at REMOVE-THIS-> wrote:
> 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.

That wouldn't help.  In the OP's case, it would create two borgs.  Did
anyone actually read the OP's post?  Or is this just an opportunity to
pimp libraries and bicker about style?

Carl Banks

More information about the Python-list mailing list