[sugar] Singleton

Ivan Krstić krstic
Sat Aug 26 15:08:32 EDT 2006


Marco Pesenti Gritti wrote:
> we should probably settle on a consistent implementation for singletons.

The recommended way of doing this in Python is the Borg pattern:

 http://aspn.activestate.com/ASPN/Cookbook/Python/Recipe/66531

-- 
Ivan Krsti? <krstic at solarsail.hcs.harvard.edu> | GPG: 0x147C722D


More information about the Sugar-devel mailing list