Author nikratio
Recipients nikratio, pitrou, serhiy.storchaka, vstinner
Date 2014-03-28.03:45:33
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1395978336.8.0.788052440657.issue21057@psf.upfronthosting.co.za>
In-reply-to
Content
I'm attaching a patch that enables TextIOWrapper to work with bytes-like objects from the underlying file descriptor.

The code changes are pretty small, without introducing any significant additional complexity.

For streams providing bytes objects, this patch does not change anything. For streams that are able to provide bytearrays or memoryviews, this patch removes the overhead that would be incurred by explicitly converting to bytes.
History
Date User Action Args
2014-03-28 03:45:36nikratiosetrecipients: + nikratio, pitrou, vstinner, serhiy.storchaka
2014-03-28 03:45:36nikratiosetmessageid: <1395978336.8.0.788052440657.issue21057@psf.upfronthosting.co.za>
2014-03-28 03:45:36nikratiolinkissue21057 messages
2014-03-28 03:45:36nikratiocreate