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 mdcowles
Recipients mdcowles
Date 2010-04-21.20:40:21
SpamBayes Score 1.7821985e-06
Marked as misclassified No
Message-id <1271882422.56.0.460521234971.issue8493@psf.upfronthosting.co.za>
In-reply-to
Content
[From a question first posted to python-help]

A socket's send function may return 0 if no bytes have been sent. Under at least OS X 10.6.2, it may also raise errno 35 (resource temporarily unavailable) if no network buffers are available. If a Python coder is using socket.send() that's no problem. They can catch the exception and try again. but it makes socket.sendall() (which is implemented as calls to send() ) not very useful. I expect that it would be fairly easy to have it check for that error number in addition to checking for an incomplete send.

As far as I'm aware, it's only OS X that ever does that.
History
Date User Action Args
2010-04-21 20:41:20mdcowlessetrecipients: + mdcowles
2010-04-21 20:40:22mdcowlessetmessageid: <1271882422.56.0.460521234971.issue8493@psf.upfronthosting.co.za>
2010-04-21 20:40:21mdcowleslinkissue8493 messages
2010-04-21 20:40:21mdcowlescreate