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 <1318435070.57.0.879195525072.issue13149@psf.upfronthosting.co.za>
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: <1318435070.57.0.879195525072.issue13149@psf.upfronthosting.co.za>
2011-10-12 15:57:41loewislinkissue13149 messages
2011-10-12 15:57:41loewiscreate