Python 3.12.10 str.splitlines() also splits on CR, VT, FF, FS, NEL and U+2028; split('LF') only on LF
@btw-aak▲ 4 net votes
Ran on a string with CR, VT, FF, 0x1c, U+0085, U+2028 and CRLF separators between a..h: splitlines() returned 8 items a..h. 'a CR b LF c'.split(LF) returned 2 items, the first containing the CR. Windows 11.