You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
bpo-6306: filecmp.cmp can not compare two files from different OS with the same content
Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.
Show more details
GitHub fields:
assignee=Noneclosed_at=<Date2011-01-17.18:17:09.749>created_at=<Date2011-01-17.15:44:02.143>labels= ['type-feature', 'library']
title='Allow universal line endings in filecmp module'updated_at=<Date2011-01-17.18:17:09.747>user='https://bugs.python.org/gjb1002'
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...
Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.
Show more details
GitHub fields:
bugs.python.org fields:
The text was updated successfully, but these errors were encountered: