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 serhiy.storchaka
Recipients amaury.forgeotdarc, benjamin.peterson, hynek, pitrou, rbcollins, serhiy.storchaka, stutzbach
Date 2013-03-13.08:16:19
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1363162579.7.0.491695668193.issue17404@psf.upfronthosting.co.za>
In-reply-to
Content
> - it won't work for reading: TextIOWrapper calls the read1() method, which is only defined by BufferedIO objects.

Since 3.3 TextIOWrapper works with raw IO objects (issue12591).

> Yes. And I just noticed that the _io module (the C version) will also buffer encoded bytes, up to f._CHUNK_SIZE.

Use write_through=True to disable this.
History
Date User Action Args
2013-03-13 08:16:19serhiy.storchakasetrecipients: + serhiy.storchaka, amaury.forgeotdarc, pitrou, rbcollins, benjamin.peterson, stutzbach, hynek
2013-03-13 08:16:19serhiy.storchakasetmessageid: <1363162579.7.0.491695668193.issue17404@psf.upfronthosting.co.za>
2013-03-13 08:16:19serhiy.storchakalinkissue17404 messages
2013-03-13 08:16:19serhiy.storchakacreate