Message145400
It would be interesting to see how often the "bad" case triggers, i.e. that a write-only stringio sees any of the other methods invoked at all.
As a special case, you may consider that .truncate(0) doesn't really need to realize the buffer first.
I also wonder how much StringIO will be used in praxis, as opposed to BytesIO. |
|
Date |
User |
Action |
Args |
2011-10-12 15:57:50 | loewis | set | recipients:
+ loewis, pitrou, vstinner |
2011-10-12 15:57:50 | loewis | set | messageid: <1318435070.57.0.879195525072.issue13149@psf.upfronthosting.co.za> |
2011-10-12 15:57:41 | loewis | link | issue13149 messages |
2011-10-12 15:57:41 | loewis | create | |
|