E&S CVS Commit: PEAK - Finished out the rest of the PropertyMap implementation. It turns out we

pje at eby-sarna.com pje at eby-sarna.com
Sat Oct 5 12:35:01 EDT 2002


Module Name:	PEAK
Committed By:	pje
Date:		Sat Oct  5 16:34:44 UTC 2002

Modified Files:
	PEAK/src/peak/config: api_impl.py config_components.py interfaces.py

Log Message:
Finished out the rest of the PropertyMap implementation.  It turns out we
need to distinguish between "rules" (which compute a property value for a
specific target) and "defaults" (which compute a property value
irrespective of the target object).  Updated interfaces to reflect this.
Reworked PropertyMap algorithms to properly handle delayed locking of
eigenstate for missing rules/defaults that are loaded by a higher-level
wildcard rule or default.  Added scope management to the IPropertyMap
interface and implementation; i.e. when you set a value you must specify
the intended target object, so that IPropertyMaps which manage properties
per-target can do so, and ones that don't support it can raise a fuss if
they're asked to do it.


To view diffs of this commit, you can use the following URL(s):
http://cvs.eby-sarna.com/PEAK/src/peak/config/api_impl.py.diff?r1=1.1&r2=1.2
http://cvs.eby-sarna.com/PEAK/src/peak/config/config_components.py.diff?r1=1.2&r2=1.3
http://cvs.eby-sarna.com/PEAK/src/peak/config/interfaces.py.diff?r1=1.2&r2=1.3

To generate a diff of this commit:
cvs rdiff -r1.1 -r1.2 PEAK/src/peak/config/api_impl.py
cvs rdiff -r1.2 -r1.3 PEAK/src/peak/config/config_components.py \
    PEAK/src/peak/config/interfaces.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