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 loewis
Recipients loewis, pitrou, vstinner
Date 2011-10-12.15:57:41
SpamBayes Score 1.5554333e-05
Marked as misclassified No
Message-id <[email protected]>
In-reply-to
Content
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.
History
Date User Action Args
2011-10-12 15:57:50loewissetrecipients: + loewis, pitrou, vstinner
2011-10-12 15:57:50loewissetmessageid: <[email protected]>
2011-10-12 15:57:41loewislinkissue13149 messages
2011-10-12 15:57:41loewiscreate