Nick Coghlan <ncogh...@gmail.com> added the comment:

I agree with Antoine - it's a simple bug introduced by the attempt to allow 
temporary directories to be correctly cleaned up during interpreter shutdown.

The race condition due to the usage of LBYL is shared with the full 
shutil.rmtree implementation, so the patch looks reasonable to me.

----------

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue12464>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to