[issue26501] bytes splitlines() method returns strings without decoding
Марк Коренберг
report at bugs.python.org
Mon Mar 7 05:50:05 EST 2016
Марк Коренберг added the comment:
$ python3.5
Python 3.5.0+ (default, Oct 11 2015, 09:05:38)
[GCC 5.2.1 20151010] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> u'a\nb£'.encode('utf-8').splitlines()
[b'a', b'b\xc2\xa3']
----------
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue26501>
_______________________________________
More information about the Python-bugs-list
mailing list