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 giampaolo.rodola
Recipients eryksun, giampaolo.rodola, paul.moore, steve.dower, tarek, tim.golden, yuliu, zach.ware
Date 2018-04-11.07:19:04
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1523431144.46.0.682650639539.issue33240@psf.upfronthosting.co.za>
In-reply-to
Content
> For convenience, a handler that retries unlink() and rmdir() could be distributed with shutil. For ease of use, it could be enabled by default on Windows.

+1 on that. I bumped into this many times over the years as occasional and hardly reproducible test failures when cleaning up test files/dirs. 
The tricky part is how to distinguish a legitimate "directory is not empty" error though.
History
Date User Action Args
2018-04-11 07:19:04giampaolo.rodolasetrecipients: + giampaolo.rodola, paul.moore, tim.golden, tarek, zach.ware, eryksun, steve.dower, yuliu
2018-04-11 07:19:04giampaolo.rodolasetmessageid: <1523431144.46.0.682650639539.issue33240@psf.upfronthosting.co.za>
2018-04-11 07:19:04giampaolo.rodolalinkissue33240 messages
2018-04-11 07:19:04giampaolo.rodolacreate