I find using \n\r is kind of inappropriate for all OSes since on POSIX, \n is and should be all you need.
So, maybe it's better to use os.linesep. I could submit a pull request, but the order is different, os.linesep is \r\n not the same order in current code, not sure if there would be side-effect, if I just use it.
I find using
\n\r
is kind of inappropriate for all OSes since on POSIX,\n
is and should be all you need.So, maybe it's better to use
os.linesep
. I could submit a pull request, but the order is different,os.linesep
is\r\n
not the same order in current code, not sure if there would be side-effect, if I just use it.If you want, I could still open a PR.