Message91037
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. |
|
Date |
User |
Action |
Args |
2009-07-29 11:59:13 | nirs | set | recipients:
+ nirs, josiahcarlson |
2009-07-29 11:59:12 | nirs | set | messageid: <1248868752.71.0.699377161.issue6550@psf.upfronthosting.co.za> |
2009-07-29 11:59:11 | nirs | link | issue6550 messages |
2009-07-29 11:59:11 | nirs | create | |
|