Message103908
[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. |
|
Date |
User |
Action |
Args |
2010-04-21 20:41:20 | mdcowles | set | recipients:
+ mdcowles |
2010-04-21 20:40:22 | mdcowles | set | messageid: <1271882422.56.0.460521234971.issue8493@psf.upfronthosting.co.za> |
2010-04-21 20:40:21 | mdcowles | link | issue8493 messages |
2010-04-21 20:40:21 | mdcowles | create | |
|