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/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):

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