[issue1641] asyncore delayed calls feature
Giampaolo Rodola'
report at bugs.python.org
Wed Mar 4 00:10:52 CET 2009
Giampaolo Rodola' <billiejoex at users.sourceforge.net> added the comment:
A new patch is in attachment.
Changes from the previous one (Sep 2008):
- renamed "deafult_tasks" global list to "scheduled_tasks"
- loop(), scheduler() and close_all() have a new "tasks" keyword
argument defaulting to None
- close_all() other than iterating over all existing dispatcher
instances and closing them, also iterate over any unfired scheduled call
found in "tasks" list, cancel() it and finally clears the list.
- call_later constructor accepts a reserved _tasks argument
- call_later overrides __lt__ instead of __le__
Tests and documentation are also included.
Added file: http://bugs.python.org/file13239/asyncore.patch
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue1641>
_______________________________________
More information about the Python-bugs-list
mailing list