Petri Lehtinen <pe...@digip.org> added the comment:

+    Same a rmtree but uses safe functions to avoid race conditions
          ^
         typo

+                    onerror(os.unlinkat, os.path.join(path, name), 
sys.exc_info())
+        onerror(os.fwalk, path, sys.exc_info())

The documentation currently states that the first argument of onerror will be 
one of os.path.islink, os.listdir, os.remove, os.rmdir. You shuld probably add 
os.unlinkat and os.fwalk to that list now.

Otherwise, looks good to me.

----------

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

Reply via email to