E&S CVS Commit: PEAK - Made better distinctions between Value and Condition behaviors, and added

pje at eby-sarna.com pje at eby-sarna.com
Sun Jan 25 19:09:00 EST 2004


Module Name:	PEAK
Committed By:	pje
Date:		Mon Jan 26 00:08:16 UTC 2004

Modified Files:
	PEAK: TODO.txt
	PEAK/src/peak/events: interfaces.py sources.py
	PEAK/src/peak/events/tests: test_events.py

Log Message:
Made better distinctions between Value and Condition behaviors, and added
ability to easily adapt from one to the other.  Added 'events.subscribe()'
to allow automatic re-subscription to a source, with automatic or manual
cancellation (automatic happens if the subscriber goes away).  Revised
derived values and all types of conditions to work via delegation rather
than inheritance, making use of 'events.subscribe()'.  We're now in a lot
better shape for adding logical operations on conditions and making
it easier to derive conditions or values from other conditions or values.


To view diffs of this commit, you can use the following URL(s):
http://cvs.eby-sarna.com/PEAK/TODO.txt.diff?r1=1.101&r2=1.102
http://cvs.eby-sarna.com/PEAK/src/peak/events/interfaces.py.diff?r1=1.10&r2=1.11
http://cvs.eby-sarna.com/PEAK/src/peak/events/sources.py.diff?r1=1.6&r2=1.7
http://cvs.eby-sarna.com/PEAK/src/peak/events/tests/test_events.py.diff?r1=1.7&r2=1.8

To generate a diff of this commit:
cvs rdiff -r1.101 -r1.102 PEAK/TODO.txt
cvs rdiff -r1.10 -r1.11 PEAK/src/peak/events/interfaces.py
cvs rdiff -r1.6 -r1.7 PEAK/src/peak/events/sources.py
cvs rdiff -r1.7 -r1.8 PEAK/src/peak/events/tests/test_events.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