R. David Murray added the comment: We have to be careful, since while Windows may no longer care about \r\n, the RFCs certainly do, and the email package is very concerned with the RFC.
However, neither of these tests are testing linesep discipline, so it is fine to fix them. I've made review comments indicating what I think is a better fix (reading in universal newline mode and encoding the result to bytes to get the comparison bytes data in standard form). ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue12037> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com