no singletons, please (was Re: an example Re: Connecting to running win32com server)
Alex Martelli
aleaxit at yahoo.com
Fri Oct 13 18:18:27 EDT 2000
"spahievi" <spahievi at vega.bg> wrote in message
news:mailman.971453318.20272.python-list at python.org...
[snip]
> AM> in the "instances sharing state" pattern (which needs a flashier
> AM> name:-), one blissfully gives out instances at will, and just
> AM> has each of them delegate its state.
>
> What about "Proxy to Singleton"? ;)
It's slightly more general than that. For example, one place
to which I like to "delegate the state" in many case of
"instances sharing state" is a relational database... not
really "a Singleton" (in the Design Pattern sense).
Alex
More information about the Python-list
mailing list