[issue24120] pathlib.(r)glob stops on PermissionDenied exception
Serhiy Storchaka
report at bugs.python.org
Mon Jun 8 20:47:33 CEST 2015
Serhiy Storchaka added the comment:
I'm not sure that Path.(r)glob() (and perhaps glob.glob()) should unconditionally ignore errors. Python has lover level than shell, and even bash has an option that controls this behavior.
failglob
If set, patterns which fail to match filenames during pathname expansion result in an expansion error.
----------
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue24120>
_______________________________________
More information about the Python-bugs-list
mailing list