[Python-Dev] Coernic Desktop Search versus shutil.rmtree (original) (raw)

Aahz aahz at pythoncraft.com
Thu Sep 2 15:20:02 CEST 2004


On Wed, Sep 01, 2004, Tim Peters wrote:

The cause: Windows has low-level hooks for apps that want to monitor changes to the filesystem. For example, virus scanners use those heavily. Coernic also uses them, to reindex changed files in the background. So it can keep a file open beyond the time Python thinks it deleted it, and then trying to rmdir its parent directory fails (because the directory isn't really empty yet).

What happens when you use Windows Exploder to delete the folder?

Aahz (aahz at pythoncraft.com) <*> http://www.pythoncraft.com/

"To me vi is Zen. To use vi is to practice zen. Every command is a koan. Profound to the user, unintelligible to the uninitiated. You discover truth everytime you use it." --reddy at lion.austin.ibm.com



More information about the Python-Dev mailing list