On Thu, Nov 27, 2008 at 2:36 PM, Viktor Kerkez <[EMAIL PROTECTED]> wrote: > A better way to do this was http://pastebin.com/m1130d1fe :) > -- > http://mail.python.org/mailman/listinfo/python-list >
The Python position on singletons is generally to just use a module instead (preferred), or apply the Borg pattern: http://code.activestate.com/recipes/66531/ Cheers, Chris -- Follow the path of the Iguana... http://rebertia.com -- http://mail.python.org/mailman/listinfo/python-list