E&S CVS Commit: PEAK - Added 'config.MultiKey()' and 'config.UnionOf()' configuration key classes,

pje at eby-sarna.com pje at eby-sarna.com
Sat Dec 27 13:27:00 EST 2003


Module Name:	PEAK
Committed By:	pje
Date:		Sat Dec 27 18:26:40 UTC 2003

Modified Files:
	PEAK: CHANGES.txt TODO.txt
	PEAK/src/peak: core.py
	PEAK/src/peak/config: api.py config_components.py registries.py
	PEAK/src/peak/config/tests: __init__.py
	PEAK/src/peak/model: features.py
Added Files:
	PEAK/src/peak/config/tests: test_keys.py

Log Message:
Added 'config.MultiKey()' and 'config.UnionOf()' configuration key classes,
to generalize existing specialty keys such as 'ProviderOf' and
'FactoryFor'.  (The latter two are now defined in terms of the former
two.)  Also, made classes and types usable as configuration keys.  This
was needed for the above generalization, but also makes many other
class-lookup concepts possible.  (Note that there may be some slight
changes to the effective registration and lookup order of these and other
configuration keys as of this change, as there were some previous errors
and/or ambiguities to the lookup order that were not covered by the test
suite.)


To view diffs of this commit, you can use the following URL(s):
http://cvs.eby-sarna.com/PEAK/CHANGES.txt.diff?r1=1.113&r2=1.114
http://cvs.eby-sarna.com/PEAK/TODO.txt.diff?r1=1.86&r2=1.87
http://cvs.eby-sarna.com/PEAK/src/peak/core.py.diff?r1=1.1&r2=1.2
http://cvs.eby-sarna.com/PEAK/src/peak/config/api.py.diff?r1=1.4&r2=1.5
http://cvs.eby-sarna.com/PEAK/src/peak/config/config_components.py.diff?r1=1.70&r2=1.71
http://cvs.eby-sarna.com/PEAK/src/peak/config/registries.py.diff?r1=1.2&r2=1.3
http://cvs.eby-sarna.com/PEAK/src/peak/config/tests/__init__.py.diff?r1=1.27&r2=1.28
http://cvs.eby-sarna.com/PEAK/src/peak/config/tests/test_keys.py?rev=1.1&content-type=text/vnd.viewcvs-markup
http://cvs.eby-sarna.com/PEAK/src/peak/model/features.py.diff?r1=1.27&r2=1.28

To generate a diff of this commit:
cvs rdiff -r1.113 -r1.114 PEAK/CHANGES.txt
cvs rdiff -r1.86 -r1.87 PEAK/TODO.txt
cvs rdiff -r1.1 -r1.2 PEAK/src/peak/core.py
cvs rdiff -r1.4 -r1.5 PEAK/src/peak/config/api.py
cvs rdiff -r1.70 -r1.71 PEAK/src/peak/config/config_components.py
cvs rdiff -r1.2 -r1.3 PEAK/src/peak/config/registries.py
cvs rdiff -r1.27 -r1.28 PEAK/src/peak/config/tests/__init__.py
cvs rdiff -r0 -r1.1 PEAK/src/peak/config/tests/test_keys.py
cvs rdiff -r1.27 -r1.28 PEAK/src/peak/model/features.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