[New-bugs-announce] [issue10927] Allow universal line endings in filecmp module

Geoffrey Bache report at bugs.python.org
Mon Jan 17 16:44:06 CET 2011

New submission from Geoffrey Bache <gjb1002 at users.sourceforge.net>:

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 in filecmp.py.

If there is another way to achieve this, please enlighten me...

components: Library (Lib)
messages: 126405
nosy: gjb1002
priority: normal
severity: normal
status: open
title: Allow universal line endings in filecmp module
type: feature request

Python tracker <report at bugs.python.org>

More information about the New-bugs-announce mailing list