[issue25860] os.fwalk() silently skips remaining directories when error occurs

2015-12-23 Thread Serhiy Storchaka
Changes by Serhiy Storchaka : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___ _

[issue25860] os.fwalk() silently skips remaining directories when error occurs

2015-12-22 Thread Roundup Robot
Roundup Robot added the comment: New changeset 7995a81236b6 by Serhiy Storchaka in branch '3.5': Issue #25860: Fixed test failure caused by inconsistency of os.walk() and https://hg.python.org/cpython/rev/7995a81236b6 New changeset dcf9e9ae5393 by Serhiy Storchaka in branch 'default': Issue #258

[issue25860] os.fwalk() silently skips remaining directories when error occurs

2015-12-22 Thread Roundup Robot
Roundup Robot added the comment: New changeset 767262c149ca by Serhiy Storchaka in branch '3.5': Issue #25860: os.fwalk() no longer skips remaining directories when error occurs. https://hg.python.org/cpython/rev/767262c149ca New changeset a85675dabb8f by Serhiy Storchaka in branch 'default': I

[issue25860] os.fwalk() silently skips remaining directories when error occurs

2015-12-18 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: LGTM. Here is a patch with tests. -- assignee: -> serhiy.storchaka nosy: +serhiy.storchaka stage: -> patch review versions: +Python 3.6 -Python 3.4 Added file: http://bugs.python.org/file41357/fwalk-silently-skips-dirs-when-error-occurs-with-tests.p

[issue25860] os.fwalk() silently skips remaining directories when error occurs

2015-12-14 Thread Samson Lee
Changes by Samson Lee : -- nosy: +benhoyt, haypo ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.p

[issue25860] os.fwalk() silently skips remaining directories when error occurs

2015-12-14 Thread Samson Lee
Changes by Samson Lee : -- nosy: +hynek, neologix ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.

[issue25860] os.fwalk() silently skips remaining directories when error occurs

2015-12-14 Thread Samson Lee
New submission from Samson Lee: I noticed os.fwalk() produced different results as os.walk(). It turned out that os.fwalk() skips all remaining directories when OSError occurs (e.g. due to PermissionError). To reproduce the bug, first create a test directory structure: $ mkdir 1; touch 1/a