[New-bugs-announce] [issue38355] ntpath.realpath() fails on sys.executable

Steve Dower report at bugs.python.org
Wed Oct 2 18:37:37 EDT 2019


New submission from Steve Dower <steve.dower at 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 <report at bugs.python.org>
<https://bugs.python.org/issue38355>
_______________________________________


More information about the New-bugs-announce mailing list