Message99519
This seems like a common need (particularly for stdout and stderr), and setting `stdout._CHUNK_SIZE = 1` is relying on an implementation detail.
1) Can the documentation for TextIOWrapper be updated to clearly describe this extra buffering (how often buffer.write is called, etc.)?
2) Can there be a flush-like method, say write_to_buffer() to force a buffer.write() without the overhead of a flush? |
|
Date |
User |
Action |
Args |
2010-02-18 19:17:03 | amcnabb | set | recipients:
+ amcnabb, amaury.forgeotdarc, pitrou |
2010-02-18 19:17:03 | amcnabb | set | messageid: <1266520623.19.0.177534864336.issue7955@psf.upfronthosting.co.za> |
2010-02-18 19:17:01 | amcnabb | link | issue7955 messages |
2010-02-18 19:17:00 | amcnabb | create | |
|