[Python-Dev] PyRun_ with file name (original) (raw)

"Martin v. Löwis" martin at v.loewis.de
Sat Aug 7 12:30:16 CEST 2004


Jeff Epler wrote:

Another alternative would be to complete the PyFile* family of APIs (PyFileSeek, etc), so that the C runtime routines would never be used. The "new" function in the PyRun family would take a PyFileObject*.

I'm not sure I like this alternative, though. It is more complex both for the caller and for the Python runtime.

Regards, Martin



More information about the Python-Dev mailing list