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 cbay
Recipients cbay, giampaolo.rodola, janssen, pitrou, r.david.murray, vstinner
Date 2010-03-26.19:09:13
SpamBayes Score 2.238395e-07
Marked as misclassified No
Message-id <1269630555.96.0.998944132648.issue8240@psf.upfronthosting.co.za>
In-reply-to
Content
Switching to a documentation issue is fine to me. Indeed I can just cache the result of StringIO.getvalue(), although it feels a bit crude.

I won't be able to create a documentation patch since English is not my primary language. While you're at it, the doc says about SSLSocket.write:

Returns the number of bytes written.

It actually either returns 0 or len(data), at least as long as we don't have SSL partial writes. That's a different behaviour from regular sockets, and I had to look in _ssl.c to figure out why I never had values inbetween.
History
Date User Action Args
2010-03-26 19:09:16cbaysetrecipients: + cbay, janssen, pitrou, vstinner, giampaolo.rodola, r.david.murray
2010-03-26 19:09:15cbaysetmessageid: <1269630555.96.0.998944132648.issue8240@psf.upfronthosting.co.za>
2010-03-26 19:09:14cbaylinkissue8240 messages
2010-03-26 19:09:13cbaycreate