Message 389203 - Python tracker

Message389203

Author eryksun
Recipients Ofekmeister, eryksun, giampaolo.rodola, gregory.p.smith, paul.moore, steve.dower, tarek, tim.golden, yuliu, zach.ware
Date 2021-03-21.00:29:42
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1616286582.71.0.348335764683.issue33240@roundup.psfhosted.org>
In-reply-to
Content
> oh, I missed that a notification happens to the other process(es) in a 
> common case, a bit of retrying with backoff would actually make sense 

The other common problem with deleting an empty directory is when it's opened as the working directory of a process. This case fails as a sharing violation because the open doesn't share delete access. There's nothing reasonable to do about it without user interaction, which would be a complicated bit of code: find the process that has the directory open, display a message to the user in the desktop session of the process, and wait for a response. That's not a good candidate for the standard library.
History
Date User Action Args
2021-03-21 00:29:42eryksunsetrecipients: + eryksun, gregory.p.smith, paul.moore, giampaolo.rodola, tim.golden, tarek, zach.ware, steve.dower, Ofekmeister, yuliu
2021-03-21 00:29:42eryksunsetmessageid: <1616286582.71.0.348335764683.issue33240@roundup.psfhosted.org>
2021-03-21 00:29:42eryksunlinkissue33240 messages
2021-03-21 00:29:42eryksuncreate