E&S CVS Commit: PEAK - Added "[Import on Demand]" section type to .ini files, allowing you to

pje at eby-sarna.com pje at eby-sarna.com
Sat Dec 20 21:25:01 EST 2003

Module Name:	PEAK
Committed By:	pje
Date:		Sun Dec 21 02:24:14 UTC 2003

Modified Files:
	PEAK/src/peak: peak.ini
	PEAK/src/peak/config: ini_files.py interfaces.py

Log Message:
Added "[Import on Demand]" section type to .ini files, allowing you to
define shortcuts for modules that you frequently reference in your
configuration.  This lets you replace e.g.
'importString("foo.bar.baz:Spam")' with 'foo_baz.Spam' in expressions, by
adding something like this::

  [Import on Demand]
  foo_bar = "foo.bar.baz"

to your configuration.  The defined shortcut is then available for the
remainder of that configuration file, and in any .ini files included from
the current file.  See 'peak.ini' for an example and more info.

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

To generate a diff of this commit:
cvs rdiff -r1.111 -r1.112 PEAK/CHANGES.txt
cvs rdiff -r1.82 -r1.83 PEAK/TODO.txt
cvs rdiff -r1.101 -r1.102 PEAK/src/peak/peak.ini
cvs rdiff -r1.1 -r1.2 PEAK/src/peak/config/ini_files.py
cvs rdiff -r1.32 -r1.33 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