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 amcnabb
Recipients amaury.forgeotdarc, amcnabb, pitrou
Date 2010-02-18.19:17:00
SpamBayes Score 1.9617708e-05
Marked as misclassified No
Message-id <1266520623.19.0.177534864336.issue7955@psf.upfronthosting.co.za>
In-reply-to
Content
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?
History
Date User Action Args
2010-02-18 19:17:03amcnabbsetrecipients: + amcnabb, amaury.forgeotdarc, pitrou
2010-02-18 19:17:03amcnabbsetmessageid: <1266520623.19.0.177534864336.issue7955@psf.upfronthosting.co.za>
2010-02-18 19:17:01amcnabblinkissue7955 messages
2010-02-18 19:17:00amcnabbcreate