E&S CVS Commit: PEAK - Fixed 'peak.util.imports.whenImported()' function, so you can now register

pje at eby-sarna.com pje at eby-sarna.com
Sat Jul 19 11:52:01 EDT 2003


Module Name:	PEAK
Committed By:	pje
Date:		Sat Jul 19 15:51:46 UTC 2003

Modified Files:
	PEAK: CHANGES.txt
	PEAK/src/peak/util: imports.py

Log Message:
Fixed 'peak.util.imports.whenImported()' function, so you can now register
functions to be called when another module is imported.  This should be
useful for declaring adapters for external types, e.g. adapting Zope
interfaces to IConfigKey, without causing the external type to be imported
unless it's actually used.


To view diffs of this commit, you can use the following URL(s):
http://cvs.eby-sarna.com/PEAK/CHANGES.txt.diff?r1=1.62&r2=1.63
http://cvs.eby-sarna.com/PEAK/src/peak/util/imports.py.diff?r1=1.12&r2=1.13

To generate a diff of this commit:
cvs rdiff -r1.62 -r1.63 PEAK/CHANGES.txt
cvs rdiff -r1.12 -r1.13 PEAK/src/peak/util/imports.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