[issue38186] Use FindFirstFile in ntpath.realpath() when access is denied

2019-09-16 Thread Steve Dower
Steve Dower added the comment: See issue38081 and PR 16156 for related discussion and changes. -- ___ Python tracker ___ ___

[issue38186] Use FindFirstFile in ntpath.realpath() when access is denied

2019-09-16 Thread Steve Dower
New submission from Steve Dower : There remains a case in ntpath.realpath() where a (handled) ERROR_ACCESS_DENIED or ERROR_SHARING_VIOLATION will break out of traversing a series of paths. However, in this case (in os.stat(), for example), we could request the real name of the file from the