]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
On Unix, avoid a conversion to wchar_t in getpath.c (#153230)
authorVictor Stinner <vstinner@python.org>
Tue, 7 Jul 2026 16:28:05 +0000 (18:28 +0200)
committerGitHub <noreply@github.com>
Tue, 7 Jul 2026 16:28:05 +0000 (18:28 +0200)
commitce96dd68589f4cff54aa7bb7bb0991c1ef7d2f4b
treec78316bc89bdc515e44ab899d7c2d120f8a45650
parent48cc2579b65be508ca64b6cb64ce0f7922eab9ab
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().
Modules/getpath.c
Python/fileutils.c