Hynek Schlawack <h...@ox.cx> added the comment: I just realized it doesn't really make sense because if a file disappears for real, we'll get another FileNotFoundException when checking whether it's a symlink and the continue is never reached.
So behold v3. :) This time, I have tested it by injecting a if name == 'tmp4': import os os.unlinkat(topfd, name) right before the S_ISDIR in fwalk. Some tests failed because said tmp4 was obviously missing – the old code threw FileNotFoundExceptions. After restoration the whole test suite passes in regression mode. ---------- stage: commit review -> patch review Added file: http://bugs.python.org/file25596/fwalk.diff _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue14773> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com