R. David Murray <rdmur...@bitdance.com> added the comment: If you do not want to compare them by reading line by line, then you are doing a binary comparison (which is what filecmp does) and the two files are, indeed, different. If you want to compare them in text mode, you are moving into 'diff' territory and could use difflib instead.
If you nevertheless want to propose an additional text-and-universal-newline-mode version of cmp (it would be best if you were prepared to write the patch), please bring it up on python-ideas for community discussion, as it is not clear that it is a good idea. If you get a consensus that it is a good idea you can reopen this ticket with a pointer to the discussion. ---------- nosy: +r.david.murray priority: -> low resolution: -> rejected status: open -> pending versions: +Python 2.7, Python 3.2 -Python 2.5 _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue6306> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com