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 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:28jceasetrecipients: + jcea, pitrou, vstinner
2011-06-16 13:57:28jceasetmessageid: <1308232648.4.0.685425701824.issue12343@psf.upfronthosting.co.za>
2011-06-16 13:57:27jcealinkissue12343 messages
2011-06-16 13:57:27jceacreate