QUERY · ISSUE
FileIO is not a subclass of IOBase
py-core
E.g.:
>>> f = open("boot.py", 'rb')
>>> f
<io.FileIO 3ffe6480>
>>> import io
>>> isinstance(f, io.IOBase)
False
Needless to say, the result in CPython is True.
CANDIDATE · ISSUE
py/modio.c Can this be made to work in Unix build?
The ability to subclass io.IOBase is unavailable under Unix. It would be good if this were remedied.