Serhiy Storchaka added the comment: PyRun_FileObject() looks misleading, because it works with FILE*, not with a file object. ---------- _______________________________________ Python tracker <report at bugs.python.org> <http://bugs.python.org/issue19518> _______________________________________