[New-bugs-announce] [issue24120] pathlib.(r)glob stops on PermissionDenied exception
report at bugs.python.org
Sun May 3 19:52:28 CEST 2015
New submission from Gregorio:
Path.(r)glob stops when it encounters a PermissionDenied exception.
However, os.walk just skips files/directories it does not have permission to access.
In my opinion, the os.walk behavior is better because it doesn't prevent usage in situations where a single file/directory in a tree has restricted permissions.
components: Library (Lib)
title: pathlib.(r)glob stops on PermissionDenied exception
versions: Python 3.4
Python tracker <report at bugs.python.org>
More information about the New-bugs-announce