E&S CVS Commit: pylib - Removed remaining references to concept of "overlaying" things. Added

pje at eby-sarna.com pje at eby-sarna.com
Fri Jun 8 12:47:00 EDT 2001


Module Name:	pylib
Committed By:	pje
Date:		Fri Jun  8 16:46:56 UTC 2001

Modified Files:
	pylib/TW: Components.py

Log Message:
Removed remaining references to concept of "overlaying" things.  Added
'IPostProcessor' and 'SimplePostProcessor', which will allow things like
registries of classes to be built.  Example use::

class MyClass:

   a = 1

   b = 'two'

   def myRegistry(parents):
       # do stuff here to alter parents' output

   myRegistry = SimplePostProcessor(myRegistry)

The 'myRegistry' function will be called after all non-postprocessor
features have been finished - so it can look over the results and do
something with/to them, such as registering them in a special attribute.


To view diffs of this commit, you can use the following URL(s):
http://cvs.eby-sarna.com/pylib/TW/Components.py.diff?r1=1.8&r2=1.9

To generate a diff of this commit:
cvs rdiff -r1.8 -r1.9 pylib/TW/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