[issue10927] Allow universal line endings in filecmp module

2011-01-17 Thread R. David Murray
R. David Murray added the comment: Duplicate of issue 6306. -- nosy: +r.david.murray resolution: -> duplicate stage: -> committed/rejected status: open -> closed superseder: -> filecmp.cmp can not compare two files from different OS with the same content ___

[issue10927] Allow universal line endings in filecmp module

2011-01-17 Thread Geoffrey Bache
New submission from Geoffrey Bache : It would be useful to compare the contents of two files while not caring what platform they were produced on, perhaps a universal_line_endings parameter to e.g. filecmp.cmp and possibly other methods. At the moment opening the files with "rb" is hardcoded i