On Unix, avoid a conversion to wchar_t in getpath.c (#153230) · python/cpython@ce96dd6 · GitHub
Skip to content

Commit ce96dd6

Browse files
authored
On Unix, avoid a conversion to wchar_t in getpath.c (#153230)
* Replace _Py_wstat() with _Py_stat() in isfile() and isxfile(). * Replace _Py_wfopen() with Py_fopen() in readlines().
1 parent 48cc257 commit ce96dd6

2 files changed

Lines changed: 49 additions & 49 deletions

File tree

Modules/getpath.c

Lines changed: 43 additions & 42 deletions

Python/fileutils.c

Lines changed: 6 additions & 7 deletions

0 commit comments

Comments
 (0)