Message101770
| 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. |
|