On 2010-03-10 15:57 PM, Lawrence D'Oliveiro wrote:
In message<7vbrvefeg...@mid.individual.net>, Gregory Ewing wrote:

If you need the same FILE * that Python is using, you
may need to use ctypes to extract it out of the file
object.

Why would Python be using a FILE *?

In Python 2.x, Python's file objects use a stdio FILE* pointer underneath. The I/O subsystem was rewritten in Python 3.x to use only file descriptors.

--
Robert Kern

"I have come to believe that the whole world is an enigma, a harmless enigma
 that is made terrible by our own mad attempt to interpret it as though it had
 an underlying truth."
  -- Umberto Eco

--
http://mail.python.org/mailman/listinfo/python-list

Reply via email to