Description of problem: $ python3 -c 'import magic; m=magic.open(magic.NONE); m.load(); print(m.file("/etc/fstab"))' b"b'ASCII text'" This seems doubly wrong. It breaks diffoscope and probably any other users badly. Version-Release number of selected component (if applicable): python3-magic-5.28-3.fc25.noarch How reproducible: deterministic Additional info: It works fine in F24: $ python3 -c 'import magic; m=magic.open(magic.NONE); m.load(); print(m.file("/etc/fstab"))'; rpm -q python3-magic ASCII text python3-magic-5.25-6.fc24.noarch Python2 also works fine in F25/rawhide, so this is a python3-only issue.
upstream commit: https://github.com/file/file/commit/73e043d2
file-5.28-4.fc25 has been submitted as an update to Fedora 25. https://bodhi.fedoraproject.org/updates/FEDORA-2016-180a7eca23
file-5.28-4.fc25 has been pushed to the Fedora 25 testing repository. If problems still persist, please make note of it in this bug report. See https://fedoraproject.org/wiki/QA:Updates_Testing for instructions on how to install test updates. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2016-180a7eca23
file-5.28-4.fc25 has been pushed to the Fedora 25 stable repository. If problems still persist, please make note of it in this bug report.