[issue9281] Race condition in distutils.dir_util.mkpath()

Éric Araujo report at bugs.python.org
Sat Jul 17 09:20:25 CEST 2010

Éric Araujo <merwok at netwok.org> added the comment:

Note: Your patch fixes distutils, but in distutils2 dir_util is gone, use of its functions replaced by shutil calls or duplicated code with, I’m afraid, the same isdir/mkdir race condition. I wonder how we could add tests for that instead. Thanks for the heads-up, I’m adding a “grep makedirs|rmdir” on my todo list.

nosy: +merwok
resolution:  -> accepted
stage:  -> patch review
type:  -> behavior

Python tracker <report at bugs.python.org>

More information about the Python-bugs-list mailing list