E&S CVS Commit: PEAK - Draft implementation of 'addClassAdvisor()' API, per discussions with

pje at eby-sarna.com pje at eby-sarna.com
Fri Apr 25 15:30:00 EDT 2003

Module Name:	PEAK
Committed By:	pje
Date:		Fri Apr 25 19:29:09 UTC 2003

Modified Files:
	PEAK/src/peak/util: advice.py

Log Message:
Draft implementation of 'addClassAdvisor()' API, per discussions with
Steve Alexander.  This is a proposed API for "class advisors" such as Zope
3's proposed new interface declaration API.  'addClassAdvisor()' installs
code in a containing class statement that will invoke a callback to wrap
the containing class upon its creation.  I'll be adding support code to
the module inheritance system so that module inheritance won't break in
the presence of such "magic" advisor functions, as long as they use a
compatible implementation of 'addClassAdvisor()'.

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

To generate a diff of this commit:
cvs rdiff -r1.2 -r1.3 PEAK/src/peak/util/advice.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