This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author nirs
Recipients josiahcarlson, nirs
Date 2009-07-29.11:59:11
SpamBayes Score 0.00011684528
Marked as misclassified No
Message-id <1248868752.71.0.699377161.issue6550@psf.upfronthosting.co.za>
In-reply-to
Content
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.
History
Date User Action Args
2009-07-29 11:59:13nirssetrecipients: + nirs, josiahcarlson
2009-07-29 11:59:12nirssetmessageid: <1248868752.71.0.699377161.issue6550@psf.upfronthosting.co.za>
2009-07-29 11:59:11nirslinkissue6550 messages
2009-07-29 11:59:11nirscreate