Message101770
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. |
|
Date |
User |
Action |
Args |
2010-03-26 19:09:16 | cbay | set | recipients:
+ cbay, janssen, pitrou, vstinner, giampaolo.rodola, r.david.murray |
2010-03-26 19:09:15 | cbay | set | messageid: <1269630555.96.0.998944132648.issue8240@psf.upfronthosting.co.za> |
2010-03-26 19:09:14 | cbay | link | issue8240 messages |
2010-03-26 19:09:13 | cbay | create | |
|