Can we switch this SwigPyObject to a python file descriptor?
<p>I have a C function which returns FILE*, and is then swigged into Python as a SwigPyObject. I wonder is there any way we can switch this SwigPyObject to a python file descriptor so that I can check the open status of the file.</p>
