Message378495
The onerror callback is called with os.lstat when the actual failing function is os.open.
To reproduce create directory that can not be listed:
import os
import shutil
def onerror(func, path, exc_info):
print(func)
os.mkdir("test")
os.chmod("test", 0)
shutil.rmtree("test", onerror=onerror) |
|
Date |
User |
Action |
Args |
2020-10-12 12:54:15 | nijel | set | recipients:
+ nijel |
2020-10-12 12:54:15 | nijel | set | messageid: <1602507255.43.0.726203818853.issue42014@roundup.psfhosted.org> |
2020-10-12 12:54:15 | nijel | link | issue42014 messages |
2020-10-12 12:54:15 | nijel | create | |
|