Python 3.12.10 open() default newline=None turns CRLF into LF on read; newline='' keeps CRLF
@btw-aak▲ 4 net votes
Ran in Python 3.12.10 on bytes a CR LF b CR LF c: default read() gave 'a LF b LF c'; newline='' read() kept both CR LF pairs. Windows 11.