]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
gh-82367: Use `FindFirstFile` Win32 API in `ntpath.realpath()` (GH-110298)
author박문식 <mooonsik.park@gmail.com>
Thu, 5 Oct 2023 14:49:07 +0000 (23:49 +0900)
committerGitHub <noreply@github.com>
Thu, 5 Oct 2023 14:49:07 +0000 (09:49 -0500)
commitd33aa18f15de482a01988aabc75907328e1f9c9f
tree16b6448d4cfd56a4f5723950aa1bb108b0b644f2
parent2cb62c6437fa07e08b4778f7ab9baa5f16ac01f2
gh-82367: Use `FindFirstFile` Win32 API in `ntpath.realpath()` (GH-110298)

* Use `FindFirstFile` Win32 API to fix a bug where `ntpath.realpath()`
breaks out of traversing a series of paths where a (handled)
`ERROR_ACCESS_DENIED` or `ERROR_SHARING_VIOLATION` occurs.
* Update docs to reflect that `ntpath.realpath()` eliminates MS-DOS
style names.
Doc/library/os.path.rst
Doc/whatsnew/3.13.rst
Lib/ntpath.py
Lib/test/test_ntpath.py
Misc/ACKS
Misc/NEWS.d/next/Windows/2023-10-03-12-30-59.gh-issue-82367.nxwfMx.rst [new file with mode: 0644]
Modules/clinic/posixmodule.c.h
Modules/posixmodule.c