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-26.00:37:27
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1395794247.28.0.97763223959.issue21057@psf.upfronthosting.co.za>
In-reply-to
Content
Yes, bytes objects have some advantages. But if a bytes object is desired, it can always be created from bytes-like object. If a BufferedIOBase instance is required to only provide bytes objects, this conversion is forced even when it may not be necessary.

If someone is willing to do the work (and I am), is there a reason *not* to allow TextIOWrapper to accept bytes-like objects?
History
Date User Action Args
2014-03-26 00:37:27nikratiosetrecipients: + nikratio, pitrou, vstinner, serhiy.storchaka
2014-03-26 00:37:27nikratiosetmessageid: <1395794247.28.0.97763223959.issue21057@psf.upfronthosting.co.za>
2014-03-26 00:37:27nikratiolinkissue21057 messages
2014-03-26 00:37:27nikratiocreate