E&S CVS Commit: PEAK - It's now possible to extend .ini file parsing with custom section types,

pje at eby-sarna.com pje at eby-sarna.com
Thu Jul 31 19:36:01 EDT 2003


Module Name:	PEAK
Committed By:	pje
Date:		Thu Jul 31 23:34:59 UTC 2003

Modified Files:
	PEAK: CHANGES.txt
	PEAK/src/peak: peak.ini
	PEAK/src/peak/config: config_components.py interfaces.py

Log Message:
It's now possible to extend .ini file parsing with custom section types,
and PEAK defines its own built-in section types using this extension
mechanism.  Custom section types must include at least one space, (e.g.
'[My Section]') or they will be treated as a plain property name.
See the 'peak.config.iniFile.sectionParsers' section in 'peak.ini' for
more details, along with the 'config.ISettingParser' and
'config.IIniParser' interfaces.


To view diffs of this commit, you can use the following URL(s):
http://cvs.eby-sarna.com/PEAK/CHANGES.txt.diff?r1=1.66&r2=1.67
http://cvs.eby-sarna.com/PEAK/src/peak/peak.ini.diff?r1=1.66&r2=1.67
http://cvs.eby-sarna.com/PEAK/src/peak/config/config_components.py.diff?r1=1.56&r2=1.57
http://cvs.eby-sarna.com/PEAK/src/peak/config/interfaces.py.diff?r1=1.30&r2=1.31

To generate a diff of this commit:
cvs rdiff -r1.66 -r1.67 PEAK/CHANGES.txt
cvs rdiff -r1.66 -r1.67 PEAK/src/peak/peak.ini
cvs rdiff -r1.56 -r1.57 PEAK/src/peak/config/config_components.py
cvs rdiff -r1.30 -r1.31 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