Message244899
The glob module is not affected because it ignores all OSErrors (including "Permission denied" and "Too many levels of symbolic links").
>>> import glob
>>> glob.glob('**/*', recursive=True)
['dir2/file1', 'dir2/file2', 'dir2/dir3', 'dir1/file1', 'dir1/file2']
There is no special test for PermissionError. |
|
Date |
User |
Action |
Args |
2015-06-06 12:01:58 | serhiy.storchaka | set | recipients:
+ serhiy.storchaka, pitrou, ethan.furman, Gregorio, ulope |
2015-06-06 12:01:58 | serhiy.storchaka | set | messageid: <1433592118.22.0.00506327637307.issue24120@psf.upfronthosting.co.za> |
2015-06-06 12:01:58 | serhiy.storchaka | link | issue24120 messages |
2015-06-06 12:01:57 | serhiy.storchaka | create | |
|