adesklets.singleton
index
singleton.py

Module implementing the singleton pattern.
 
This is a slight rewrite of a recipe from ASPN's python cookbook,
'The Singleton Pattern implemented with Python' by Jürgen Hermann:
 
http://aspn.activestate.com/ASPN/Cookbook/Python/

 
Modules
        
types
 
Data
         ADESKLETSErrors = {0: 'generic error', 1: 'adesklets process exited', 2: 'only a single class of this type should exists', 3: 'adesklets interpreter initialization error', 4: 'adesklets command error'}