Comment 3 for bug 391307

Revision history for this message
jazzynico (jazzynico) wrote :

More precisely, CRLF are replaced by a CR and, on the "next" line, a CRLF. Even with binary mode!
On Ubuntu the temporary and the final files are identical (newlines are not modified).

According to this thread: http://mail.python.org/pipermail/python-dev/2007-September/074739.html
it's a known problem.
I've tested with 2.6.2, same behavior.