New submission from Steve Dower <steve.do...@python.org>:
The change to error handling did not include ERROR_CANT_ACCESS_FILE, but this error occurs in the Store package install. After suppressing this error, it then occurs again when stripping the prefix - we should just check for the same error here to determine whether it's safe to remove the prefix of a file we can't access. ---------- assignee: steve.dower components: Windows keywords: 3.8regression messages: 353782 nosy: lukasz.langa, paul.moore, steve.dower, tim.golden, zach.ware priority: release blocker severity: normal status: open title: ntpath.realpath() fails on sys.executable versions: Python 3.8, Python 3.9 _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue38355> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com