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 <>
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?
Date User Action Args
2014-03-26 00:37:27nikratiosetrecipients: + nikratio, pitrou, vstinner, serhiy.storchaka
2014-03-26 00:37:27nikratiosetmessageid: <>
2014-03-26 00:37:27nikratiolinkissue21057 messages
2014-03-26 00:37:27nikratiocreate