Serhiy Storchaka <storchaka+cpyt...@gmail.com> added the comment: PyUnicode_Splitlines() cannot be used here in 2.7, because the source is likely a 8-bit string.
Actually I'm not sure this issue is worth to be fixed in 2.7. The fix would be different from 3.x and more complex. ---------- versions: +Python 3.6 _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue31285> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com