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 nikratio
Recipients nikratio, pitrou, serhiy.storchaka, vstinner
Date 2014-03-28.03:45:33
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
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.
Date User Action Args
2014-03-28 03:45:36nikratiosetrecipients: + nikratio, pitrou, vstinner, serhiy.storchaka
2014-03-28 03:45:36nikratiosetmessageid: <>
2014-03-28 03:45:36nikratiolinkissue21057 messages
2014-03-28 03:45:36nikratiocreate