Message138434
| Author |
jcea |
| Recipients |
jcea, pitrou, vstinner |
| Date |
2011年06月16日.13:57:27 |
| SpamBayes Score |
4.6353953e-06 |
| Marked as misclassified |
No |
| Message-id |
<1308232648.4.0.685425701824.issue12343@psf.upfronthosting.co.za> |
| In-reply-to |
| Content |
Antoine, now I am worried about writes, since my usual aproach would be something like this:
"""
select says that it is Ok to try to write
buf = buf[socket.send(buf):]
"""
If now I can get a "retry" while writing, what is the logic?. Does Python retry automatically, internally?. Do I get a frame worth of ack and then the exception (in the next loop iteration), garanteeing nothing was written, or what?.
I think SSL module documentation should write down this captchas when using non-blocking sockets. That is, that read/write can raise exceptions even if "select" was OK. |
|
History
|
|---|
| Date |
User |
Action |
Args |
| 2011年06月16日 13:57:28 | jcea | set | recipients:
+ jcea, pitrou, vstinner |
| 2011年06月16日 13:57:28 | jcea | set | messageid: <1308232648.4.0.685425701824.issue12343@psf.upfronthosting.co.za> |
| 2011年06月16日 13:57:27 | jcea | link | issue12343 messages |
| 2011年06月16日 13:57:27 | jcea | create |
|