This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author serhiy.storchaka
Recipients Gregorio, ethan.furman, pitrou, serhiy.storchaka, ulope
Date 2015-06-06.12:01:57
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1433592118.22.0.00506327637307.issue24120@psf.upfronthosting.co.za>
In-reply-to
Content
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.
History
Date User Action Args
2015-06-06 12:01:58serhiy.storchakasetrecipients: + serhiy.storchaka, pitrou, ethan.furman, Gregorio, ulope
2015-06-06 12:01:58serhiy.storchakasetmessageid: <1433592118.22.0.00506327637307.issue24120@psf.upfronthosting.co.za>
2015-06-06 12:01:58serhiy.storchakalinkissue24120 messages
2015-06-06 12:01:57serhiy.storchakacreate