binaryornot
binaryornot copied to clipboard
Failed to read for FIFO file.
Failed to read for FIFO file .
If is_binary() is called on the fifo file as shown below, it stops without returning any result.
from binaryornot.check import is_binary
>>> is_binary('test.fifo')
This is a case where IMHO it should skip trying to open FIFO and character devices entirely... And report these as either binary or nothing or some third kind of sorts.