[issue43175] filecmp is not working for UTF-8 BOM file.

suresh report at bugs.python.org
Fri Feb 12 01:41:46 EST 2021


suresh <sureshvigneshbe at gmail.com> added the comment:

Please find the below Code and attached the files, expecting true as output and getting as false: 
 

"import filecmp

filecmp.clear_cache()

boolfile=filecmp.cmp(r'C:\destination.css',r'C:\source.css',shallow=False)

print(boolfile)"

----------
hgrepos: +398
Added file: https://bugs.python.org/file49802/files.zip

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue43175>
_______________________________________


More information about the Python-bugs-list mailing list