Author ethan.furman
Recipients Gregorio, ethan.furman, pitrou
Date 2015-05-07.19:13:32
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1431026012.34.0.66924053885.issue24120@psf.upfronthosting.co.za>
In-reply-to
Content
From Frank Woodall on python-ideas:
==================================
How to reproduce:

mkdir /tmp/path_test && cd /tmp/path_test && mkdir dir1 dir2 dir2/dir3 && touch dir1/file1 dir1/file2 dir2/file1 dir2/file2 dir2/dir3/file1
su
chmod 700 dir2/dir3/
chown root:root dir2/dir3/
exit

python 3.4.1

from pathlib import Path
p = Path('/tmp/path_test')
for x in p.rglob('*') : print(x)
History
Date User Action Args
2015-05-07 19:13:32ethan.furmansetrecipients: + ethan.furman, pitrou, Gregorio
2015-05-07 19:13:32ethan.furmansetmessageid: <1431026012.34.0.66924053885.issue24120@psf.upfronthosting.co.za>
2015-05-07 19:13:32ethan.furmanlinkissue24120 messages
2015-05-07 19:13:32ethan.furmancreate