]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
Issue #9425: Create run_file() subfunction
authorVictor Stinner <victor.stinner@haypocalc.com>
Sat, 7 Aug 2010 16:34:25 +0000 (16:34 +0000)
committerVictor Stinner <victor.stinner@haypocalc.com>
Sat, 7 Aug 2010 16:34:25 +0000 (16:34 +0000)
commit0a3ddad666d3c30f3b232a1825dc6d8e2de04b47
tree8af4a1e1ccb7528f5215626efb2aaab837a5f916
parentaf43e9a288b98c6434ce3ee6fc2b9eb766775774
Issue #9425: Create run_file() subfunction

 * Call Py_MakePendingCalls() before converting the filename from
   wchar_t* to char*
 * Use PyUnicode_AsUTF8String() instead of _PyUnicode_AsString()
Modules/main.c