>> I believe what you are looking for is (some variant of) the singleton
>> pattern:
>>
>> http://en.wikipedia.org/wiki/Singleton_pattern
>
> Actually, no. What I want is the flyweight pattern instead:
>
> http://en.wikipedia.org/wiki/Flyweight_pattern

Oh I see. I did not know about this pattern, but in my defense it
looks like a variant of the singleton pattern :)

Thanks! One always learns something new on python-list.

Cheers,
Daniel


-- 
Psss, psss, put it down! - http://www.cafepress.com/putitdown
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to