[issue13149] optimization for append-only StringIO

Terry J. Reedy report at bugs.python.org
Sat Oct 15 01:20:29 CEST 2011


Terry J. Reedy <tjreedy at udel.edu> added the comment:

Like parts of the Python test suite, I use StringIO to capture print/write output for testing in an output...output/getvalue/reset(seek(0),truncate(0)) cycle. While this enhancement would not currently affect me (as I only do a few prints each cycle), I can easily imagine other cases where it would.

----------
nosy: +terry.reedy

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue13149>
_______________________________________


More information about the Python-bugs-list mailing list