[sugar] Singleton

Ivan Krstić krstic at solarsail.hcs.harvard.edu
Sat Aug 26 15:08:28 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 mailing list