This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author r.david.murray
Recipients higer, r.david.murray
Date 2009-06-18.12:50:19
SpamBayes Score 1.0051504e-06
Marked as misclassified No
Message-id <1245329422.28.0.454056800906.issue6306@psf.upfronthosting.co.za>
In-reply-to
Content
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.
History
Date User Action Args
2009-06-18 12:50:22r.david.murraysetrecipients: + r.david.murray, higer
2009-06-18 12:50:22r.david.murraysetmessageid: <1245329422.28.0.454056800906.issue6306@psf.upfronthosting.co.za>
2009-06-18 12:50:20r.david.murraylinkissue6306 messages
2009-06-18 12:50:19r.david.murraycreate