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 josiahcarlson
Recipients ajaksu2, akuchling, alexer, anadelonbrin, brett.cannon, giampaolo.rodola, gregory.p.smith, josiahcarlson, tim.peters
Date 2009-03-31.18:16:29
SpamBayes Score 4.846496e-05
Marked as misclassified No
Message-id <1238523393.54.0.962602388514.issue1161031@psf.upfronthosting.co.za>
In-reply-to
Content
You are right.  Handling OOB data is within the "exceptional condition" 
that the select document specifies.

I've added a check for error conditions within handle_expt_event(), 
which induces a handle_close() on discovery of an error, handle_expt() 
otherwise.

One thing to consider is that when there is OOB data, and when 
handle_expt() isn't overridden, we will get churn because that data will 
never be read from the socket.  I'm thinking about tossing a 
handle_close() as part of the default handle_expt() call.

Attached is an updated patch without the handle_close() in 
handle_expt().
History
Date User Action Args
2009-03-31 18:16:33josiahcarlsonsetrecipients: + josiahcarlson, tim.peters, akuchling, brett.cannon, gregory.p.smith, anadelonbrin, giampaolo.rodola, ajaksu2, alexer
2009-03-31 18:16:33josiahcarlsonsetmessageid: <1238523393.54.0.962602388514.issue1161031@psf.upfronthosting.co.za>
2009-03-31 18:16:32josiahcarlsonlinkissue1161031 messages
2009-03-31 18:16:31josiahcarlsoncreate