aahz at pythoncraft.com
Sun Jul 20 19:05:23 CEST 2008
In article <2476438f-eaa2-495f-95fa-eb9efec25875 at e39g2000hsf.googlegroups.com>,
Craig Allen <callen314 at gmail.com> wrote:
>Therefore option two is a family of options where class level members
>can be used to share whatever needs to be shared, though strictly the
>class is not a singleton since multiple instances are created which
>merely share the data that should be single (say a big dictionary of
>configuration information the class manages).
That's only true if you actually instantiate the class. You can just
use the class directly -- that's what I do.
Aahz (aahz at pythoncraft.com) <*> http://www.pythoncraft.com/
Adopt A Process -- stop killing all your children!
More information about the Python-list