[issue1641] asyncore delayed calls feature
Josiah Carlson
report at bugs.python.org
Tue Mar 31 23:08:18 CEST 2009
Josiah Carlson <josiahcarlson at users.sourceforge.net> added the comment:
I fixed some bugs with my patch, merged in Giampaolo's tests and
documentation, and altered the API to match Giampaolo's API almost
completely.
This new version differs from Giampaolo's patch only in underlying
implementation; this uses a modified sched.py, and doesn't have a
standard "execute outstanding methods" function built into asyncore
(asynchat.scheduled_tasks.run(time.time()) is sufficient).
The major difference is that the modifications to sched.py offer a fast
cancel/reschedule operation, which Giampaolo's lacks.
----------
Added file: http://bugs.python.org/file13524/scheduler.patch
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue1641>
_______________________________________
More information about the Python-bugs-list
mailing list