E&S CVS Commit: PEAK - Improved support for slots and initialization of unchangeable features at

pje at eby-sarna.com pje at eby-sarna.com
Fri Feb 7 13:49:00 EST 2003


Module Name:	PEAK
Committed By:	pje
Date:		Fri Feb  7 18:48:18 UTC 2003

Modified Files:
	PEAK/src/peak/binding: components.py interfaces.py
	PEAK/src/peak/model: persistent.py structural.py

Log Message:
Improved support for slots and initialization of unchangeable features at
instance creation time.  This required revisions to the 'IBindingAPI'
interface and implementation to accept a 'useSlot' flag on many routines,
and the addition of new '_postGet()' and '_bindingChanging()' hook methods
in 'binding.Base'.  But now the persistence implementation is orthogonal
to how attributes are stored.  No tests for slot-based features yet, but
maybe that can happen soon.  In principle it should now also be possible
to create components that subclass 'Classifier' and thus share in many of
the benefits of 'peak.model', for solution-domain components.  For example,
such components could be loaded from a DM that reads a configuration file.


To view diffs of this commit, you can use the following URL(s):
http://cvs.eby-sarna.com/PEAK/src/peak/binding/components.py.diff?r1=1.77&r2=1.78
http://cvs.eby-sarna.com/PEAK/src/peak/binding/interfaces.py.diff?r1=1.5&r2=1.6
http://cvs.eby-sarna.com/PEAK/src/peak/model/persistent.py.diff?r1=1.4&r2=1.5
http://cvs.eby-sarna.com/PEAK/src/peak/model/structural.py.diff?r1=1.18&r2=1.19

To generate a diff of this commit:
cvs rdiff -r1.77 -r1.78 PEAK/src/peak/binding/components.py
cvs rdiff -r1.5 -r1.6 PEAK/src/peak/binding/interfaces.py
cvs rdiff -r1.4 -r1.5 PEAK/src/peak/model/persistent.py
cvs rdiff -r1.18 -r1.19 PEAK/src/peak/model/structural.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