Message242727
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) |
|
| Date |
User |
Action |
Args |
| 2015-05-07 19:13:32 | ethan.furman | set | recipients:
+ ethan.furman, pitrou, Gregorio |
| 2015-05-07 19:13:32 | ethan.furman | set | messageid: <1431026012.34.0.66924053885.issue24120@psf.upfronthosting.co.za> |
| 2015-05-07 19:13:32 | ethan.furman | link | issue24120 messages |
| 2015-05-07 19:13:32 | ethan.furman | create | |
|