[File] Question regarding python bytecode mimetypes

Steve Grubb sgrubb at redhat.com
Fri Nov 13 17:30:11 UTC 2020


Hello,

On Wednesday, October 14, 2020 2:02:23 PM EST Steve Grubb wrote:
> On Wednesday, October 14, 2020 3:15:07 AM EDT Mircea GLIGA wrote:
> > I'm reiterating my question here, is this correct behavior?
> > For me, considering bytecode as text is a bug and should be fixed.
> 
> I think you are right. Back in Feb I reported this issue:
> https://mailman.astron.com/pipermail/file/2020-February/000272.html
> 
> But I suggested application rather than text since these are compiled. I'm
> guessing it's just a typo.

I'm attaching a patch against git that moves text/x-bytecode.python to 
application/x-bytecode.python. File-5.39 is now in Fedora 33 and is starting 
to cause problems with rules depending on the old name.

Best Regards,
-Steve
-------------- next part --------------
A non-text attachment was scrubbed...
Name: file-python.patch
Type: text/x-patch
Size: 12331 bytes
Desc: not available
URL: <https://mailman.astron.com/pipermail/file/attachments/20201113/183918b5/attachment.bin>


More information about the File mailing list