Serhiy Storchaka <[email protected]> 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 <[email protected]> <https://bugs.python.org/issue31285> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
