[issue44817] os.path.realpath fails with WinError 161

2021-08-05 Thread Michael Förderer
Michael Förderer added the comment: Done. -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.pyt

[issue44817] os.path.realpath fails with WinError 161

2021-08-04 Thread Eryk Sun
Eryk Sun added the comment: ERROR_NETWORK_ACCESS_DENIED (65) should probably be added to the ignore list. I don't know whether it occurs in practice, but we have it mapped to EACCES in PC/errmap.h. The common access error is ERROR_ACCESS_DENIED (5), even on a UNC share with restricted access

[issue44817] os.path.realpath fails with WinError 161

2021-08-04 Thread Michael Förderer
Michael Förderer added the comment: Updated with ERROR_BAD_NETPATH (53). What about following errors: - ERROR_LOCK_VIOLATION (33) - ERROR_DEV_NOT_EXIST (52) - ERROR_BAD_NET_RESP (58) - ERROR_UNEXP_NET_ERR (59) - ERROR_NETNAME_DELETED (64) - ERROR_NETWORK_ACCESS_DENIED (65) - ERROR_BAD_DEV_TYPE (

[issue44817] os.path.realpath fails with WinError 161

2021-08-03 Thread Eryk Sun
Eryk Sun added the comment: It should also ignore ERROR_BAD_NETPATH (53). -- nosy: +eryksun ___ Python tracker ___ ___ Python-bugs-

[issue44817] os.path.realpath fails with WinError 161

2021-08-03 Thread Eryk Sun
Change by Eryk Sun : -- components: +Windows nosy: +paul.moore, steve.dower, tim.golden, zach.ware type: -> behavior versions: +Python 3.10, Python 3.11, Python 3.9 -Python 3.8 ___ Python tracker ___

[issue44817] os.path.realpath fails with WinError 161

2021-08-02 Thread Michael Förderer
Change by Michael Förderer : -- keywords: +patch pull_requests: +26081 stage: -> patch review pull_request: https://github.com/python/cpython/pull/27574 ___ Python tracker ___

[issue44817] os.path.realpath fails with WinError 161

2021-08-02 Thread Michael Förderer
New submission from Michael Förderer : Using os.path.realpath(...) in the MVFS of Clearcase SCM (virtual file system) in Windows 10 a exception occures: X:\my_view\tools\python\3_8>python.exe Python 3.8.5 (tags/v3.8.5:580fbb0, Jul 20 2020, 15:57:54) [MSC v.1924 64 bit (AMD64)] on win32 Type "h