[Python-Dev] PyRun_ with file name

"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
> (PyFile_Seek, 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