E&S CVS Commit: PEAK - Added config.PropSet('prefix.*', target), an object which lets you access

pje at eby-sarna.com pje at eby-sarna.com
Tue Nov 5 18:21:00 EST 2002


Module Name:	PEAK
Committed By:	pje
Date:		Tue Nov  5 23:20:54 UTC 2002

Modified Files:
	PEAK/src/peak/config: config_components.py
	PEAK/src/peak/config/tests: __init__.py

Log Message:
Added config.PropSet('prefix.*', target), an object which lets you access
properties as a namespace.  So you could do something like:

	env = config.PropSet('environ.*')
	print env['PYTHONPATH']

Although obviously you'd use it for things that are harder or have greater
separation between where the set is created and where it's used.  :)


To view diffs of this commit, you can use the following URL(s):
http://cvs.eby-sarna.com/PEAK/src/peak/config/config_components.py.diff?r1=1.17&r2=1.18
http://cvs.eby-sarna.com/PEAK/src/peak/config/tests/__init__.py.diff?r1=1.4&r2=1.5

To generate a diff of this commit:
cvs rdiff -r1.17 -r1.18 PEAK/src/peak/config/config_components.py
cvs rdiff -r1.4 -r1.5 PEAK/src/peak/config/tests/__init__.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