This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author steve.dower
Recipients Jordan Hueckstaedt, eryksun, paul.moore, pitrou, steve.dower, tim.golden, zach.ware
Date 2019-01-15.18:25:27
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1547576727.76.0.61104957954.issue35692@roundup.psfhosted.org>
In-reply-to
Content
In issue 22759 there was some logic applied for which errors to forward rather than hide.

I'm inclined to agree that this one should be hidden, but it may have to be done by checking the winerror field rather than the exception type, since other PermissionErrors may mean the file is guaranteed to exist (but you can't touch it) or that the path exists up to the point where you are not allowed to see.

I'd happily argue that since these permissions indicate that the file does not exist *for the current user* and so they should be swallowed more broadly, but I'll let Antoine make the call.
History
Date User Action Args
2019-01-15 18:25:28steve.dowersetrecipients: + steve.dower, paul.moore, pitrou, tim.golden, zach.ware, eryksun, Jordan Hueckstaedt
2019-01-15 18:25:27steve.dowersetmessageid: <1547576727.76.0.61104957954.issue35692@roundup.psfhosted.org>
2019-01-15 18:25:27steve.dowerlinkissue35692 messages
2019-01-15 18:25:27steve.dowercreate