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 pitrou
Recipients Justin.Cappos, bbangert, exarkun, giampaolo.rodola, kristjan.jonsson, loewis, ned.deily, nicdumz, pitrou, ronaldoussoren, rosslagerwall, roysmith
Date 2011-03-30.15:40:53
SpamBayes Score 7.39287e-06
Marked as misclassified No
Message-id <>
> I also don't think there is a portable way to detect the NBIO attribute 
> of a socket, so we still have a case of socket.gettimeout() not 
> accurately reflecting the blocking state of the socket

Which case?

> I personally think that this logic should go into socketmodule.c where 
> the rest of the timeout logic sits, rather than be exctracted like this 
> out into the python world.

I think practicality beats purity. If putting it in ends up producing bugs, we'll have to consider moving it to the C extension. Until then, the Python code has the advantage of being clear and concise.
Date User Action Args
2011-03-30 15:40:54pitrousetrecipients: + pitrou, loewis, ronaldoussoren, exarkun, roysmith, kristjan.jonsson, giampaolo.rodola, ned.deily, nicdumz, bbangert, Justin.Cappos, rosslagerwall
2011-03-30 15:40:54pitrousetmessageid: <>
2011-03-30 15:40:53pitroulinkissue7995 messages
2011-03-30 15:40:53pitroucreate