smeenai added a comment. Wait, what happens if you call `shutil.rmtree` with the `\\?\` normalized path, instead of dropping down to ctypes? Repository: rL LLVM CHANGES SINCE LAST ACTION https://reviews.llvm.org/D57533/new/ https://reviews.llvm.org/D57533