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

suresh report at bugs.python.org
Tue Feb 9 00:36:37 EST 2021

New submission from suresh <sureshvigneshbe at gmail.com>:

Python base package filecmp is not working properly for 'UTF-8 BOM' css files.
I am using python version 3.6 and windows 10 OS.

while running the below code getting as False always.However the file content are same.

Code :

import filecmp

components: Windows
files: source.txt
hgrepos: 397
messages: 386692
nosy: paul.moore, steve.dower, suresh, tim.golden, zach.ware
priority: normal
severity: normal
status: open
title: filecmp is not working for UTF-8 BOM file.
type: behavior
versions: Python 3.6
Added file: https://bugs.python.org/file49798/source.txt

Python tracker <report at bugs.python.org>

More information about the New-bugs-announce mailing list