Giampaolo Rodola' <billiej...@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 <rep...@bugs.python.org>
<http://bugs.python.org/issue1641>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to