[File] magic-python patch

Vincent Mihalkovic vmihalko at redhat.com
Tue May 25 15:09:20 UTC 2021


I'm trying to fix this bug:

Problem is that python bytecode mimetypes are wrongly detected. E.g.
$ file --mime-type -b
$ text/x-bytecode.python
instead of
$ application/x-bytecode.python

This problem and fix for it was already listed by Steve Grubb in

I'm resending the patch he proposed.

vincent mihalkovic
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mailman.astron.com/pipermail/file/attachments/20210525/22d940e1/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: file-5.40-magic-python.patch
Type: text/x-patch
Size: 12329 bytes
Desc: not available
URL: <https://mailman.astron.com/pipermail/file/attachments/20210525/22d940e1/attachment.bin>

More information about the File mailing list