[issue19518] Add new PyRun_xxx() functions to not encode the filename

STINNER Victor report at bugs.python.org
Wed Nov 20 14:38:59 CET 2013


STINNER Victor added the comment:

> PyRun_FileObject() looks misleading, because it works with FILE*, not with a file object.

I simply replaced the current suffix with Object(). Only filename is converted from char* to PyObject*. Do you have a better suggestion for the new name?

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue19518>
_______________________________________


More information about the Python-bugs-list mailing list