commit | a82f63f5af027a0eab0f0812d750b804368cbd25 | [log] [tgz] |
---|---|---|
author | Victor Stinner <vstinner@python.org> | Wed Dec 09 22:37:27 2020 +0100 |
committer | GitHub <noreply@github.com> | Wed Dec 09 22:37:27 2020 +0100 |
tree | aa8703c8745915d904d05ef132c1aa96fb1fd911 | |
parent | ca064402079f889226cb107b26b329891431c319 [diff] |
bpo-32381: Add _PyRun_AnyFileObject() (GH-23723) pymain_run_file() no longer encodes the filename: pass the filename as an object to the new _PyRun_AnyFileObject() function. Add new private functions: * _PyRun_AnyFileObject() * _PyRun_InteractiveLoopObject() * _Py_FdIsInteractive()