Nir Soffer <nir...@gmail.com> added the comment:

I'll check the patch this week.

The asyncore framework has low level events - handle_read_event, 
handle_write_event and 
handle_expt_event - these events are not used for reading, writing and OOB - 
they are just 
responsible to call the high level events.

The high level events - handle_connect, handle_accept, handle_read, 
handle_write, 
handle_close and handle_expt should be used only for specific events.

I don't see any problem in checking for errors in handle_expt_event, it works 
just like 
handle_read_event, that calls handle_connect.

This design allow you do replace the dispatcher with your own dispatcher class, 
implementing only the low level events.

----------

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue6550>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to