[Subversion] / PEAK / CHANGES.txt  

Revision 1719


Jump to revision:
Previous Next
Author: pje
Date: Thu Mar 18 22:07:28 2004 UTC (20 years ago)

Log Message:

The 'events.IEventSource' interface now returns a 'canceller' function
from the 'addCallback()' method, allowing you to cancel a previously-
scheduled callback.  This fixes a memory leak and performance problem with
'events.AnyOf()', which previously could accumulate unneeded callbacks on
the sources it was monitoring.  Note that if you have developed any custom
event sources with 'addCallback()' methods, you must make sure that they
return a canceller from now on.

Changed paths:

Path Action Text Changes Prop Changes Diff to Previous
PEAK/CHANGES.txt modified X   (diff to previous)
PEAK/src/peak/events/event_threads.py modified X   (diff to previous)
PEAK/src/peak/events/interfaces.py modified X   (diff to previous)
PEAK/src/peak/events/io_events.py modified X   (diff to previous)
PEAK/src/peak/events/sources.py modified X   (diff to previous)
PEAK/src/peak/events/tests/test_events.py modified X   (diff to previous)
PEAK/src/peak/events/tests/test_twisted.py modified X   (diff to previous)
PEAK/src/peak/events/twisted_support.py modified X   (diff to previous)
PEAK/src/peak/running/tests/__init__.py modified X   (diff to previous)

cvs-admin@eby-sarna.com

Powered by ViewCVS 1.0-dev

ViewCVS and CVS Help