Message214874
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:27 | nikratio | set | recipients: + nikratio, pitrou, vstinner, serhiy.storchaka | 2014-03-26 00:37:27 | nikratio | set | messageid: <1395794247.28.0.97763223959.issue21057@psf.upfronthosting.co.za> | 2014-03-26 00:37:27 | nikratio | link | issue21057 messages | 2014-03-26 00:37:27 | nikratio | create | | |