]> granicus.if.org Git - python/commit
Issue #23753: Move _Py_wstat() from Python/fileutils.c to Modules/getpath.c
authorVictor Stinner <victor.stinner@gmail.com>
Tue, 24 Mar 2015 11:16:28 +0000 (12:16 +0100)
committerVictor Stinner <victor.stinner@gmail.com>
Tue, 24 Mar 2015 11:16:28 +0000 (12:16 +0100)
commit91afbb60885d5904dc6cb4d063ae33454507bf71
tree88446ccd3150c4e107d0157cdb85a70dbc4de596
parent10dc48497e9c79d253bd0861b5f41843a114f146
Issue #23753: Move _Py_wstat() from Python/fileutils.c to Modules/getpath.c

I expected more users of _Py_wstat(), but in practice it's only used by
Modules/getpath.c. Move the function because it's not needed on Windows.
Windows uses PC/getpathp.c which uses the Win32 API (ex: GetFileAttributesW())
not the POSIX API.
Include/fileutils.h
Modules/getpath.c
Python/fileutils.c