mirror of
https://github.com/python/cpython.git
synced 2025-10-27 08:46:53 +00:00
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.
This commit is contained in:
parent
2cb62c6437
commit
d33aa18f15
8 changed files with 132 additions and 8 deletions
|
|
@ -1373,6 +1373,7 @@ Peter Parente
|
|||
Alexandre Parenteau
|
||||
Dan Parisien
|
||||
HyeSoo Park
|
||||
Moonsik Park
|
||||
William Park
|
||||
Claude Paroz
|
||||
Heikki Partanen
|
||||
|
|
|
|||
|
|
@ -0,0 +1,2 @@
|
|||
:func:`os.path.realpath` now resolves MS-DOS style file names even if
|
||||
the file is not accessible. Patch by Moonsik Park.
|
||||
Loading…
Add table
Add a link
Reference in a new issue