]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
In walk(), don't die when os.lstat() raises os.error, e.g. because a
authorGuido van Rossum <guido@python.org>
Mon, 16 Apr 2001 18:12:04 +0000 (18:12 +0000)
committerGuido van Rossum <guido@python.org>
Mon, 16 Apr 2001 18:12:04 +0000 (18:12 +0000)
commita490d5856dc0bcfbb286feb76dbc5e7a4edddef8
tree1e8e59d03227e95fa3ce1275e0fbfe272e146986
parent95f301fa277b62c2e2a0a7d513c77c7349bc289b
In walk(), don't die when os.lstat() raises os.error, e.g. because a
file was deleted by a previous call to the visitor function.

This used to be the behavior in 1.5.2 and before, but a patch to avoid
making two stat() calls accidentally broke this in 2.0.

Moshe, this would be a good one for 2.0.1 too!
Lib/posixpath.py