[issue26501] bytes splitlines() method returns strings without decoding

Wolfgang Maier report at bugs.python.org
Mon Mar 7 07:52:29 EST 2016


Wolfgang Maier added the comment:

works for me too on Windows:

Python 3.5.1 (v3.5.1:37a07cee5969, Dec  6 2015, 01:38:48) [MSC v.1900 32 bit (Intel)] on win32
Type "copyright", "credits" or "license()" for more information.
>>> u'a\nb£'.encode('utf-8').splitlines()
[b'a', b'b\xc2\xa3']

----------
nosy: +wolma

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue26501>
_______________________________________


More information about the Python-bugs-list mailing list