E&S CVS Commit: PEAK - Re-added 'binding.Singleton', this time with proper component and metaclass

pje at eby-sarna.com pje at eby-sarna.com
Wed Mar 26 12:22:01 EST 2003


Module Name:	PEAK
Committed By:	pje
Date:		Wed Mar 26 17:21:51 UTC 2003

Modified Files:
	PEAK/src/peak/binding: once.py

Log Message:
Re-added 'binding.Singleton', this time with proper component and metaclass
support.  The new singleton implementation "promotes" all attributes to the
class' metaclass, so that attribute bindings work correctly, and all
methods effectively become class methods.  It also ensures that
'aSingletonClass()' returns 'aSingletonClass' for any singleton class (i.e.
instantiating a singleton returns the singleton).


To view diffs of this commit, you can use the following URL(s):
http://cvs.eby-sarna.com/PEAK/src/peak/binding/once.py.diff?r1=1.34&r2=1.35

To generate a diff of this commit:
cvs rdiff -r1.34 -r1.35 PEAK/src/peak/binding/once.py

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.




More information about the source-changes mailing list