E&S CVS Commit: PEAK - *Really* fixed the local/global config startup recursion loop. Config

pje at eby-sarna.com pje at eby-sarna.com
Tue Nov 5 19:10:00 EST 2002

Module Name:	PEAK
Committed By:	pje
Date:		Wed Nov  6 00:09:01 UTC 2002

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

Log Message:
*Really* fixed the local/global config startup recursion loop.  Config
objects now perform their "setup" operation lazily, upon the first attempt
to get configuration data from them.  By the time this happens, the default
local and global config objects will already be registered, so all system
invariants should be in effect.  Fixing this now allows the addition of
Ty's requested PEAK_CONFIG environment variable load operation; so you can
now specify PEAK_CONFIG to point to an additional config file, similar to
"peak.ini", that can do any necessary site-, user-, or application-specific
setups.  Since that file can include others (and those still others)
without limit, PEAK_CONFIG names only one file.

To view diffs of this commit, you can use the following URL(s):

To generate a diff of this commit:
cvs rdiff -r1.4 -r1.5 PEAK/src/peak/peak.ini
cvs rdiff -r1.9 -r1.10 PEAK/src/peak/config/api_impl.py
cvs rdiff -r1.19 -r1.20 PEAK/src/peak/config/config_components.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