Message263556
I am suggesting to add max_depth argument to os.walk. I think this is very useful for two cases. The trivial one is when someone wants to walk on a directory tree up to specific depth. The second one is when you follow symlinks and wish to avoid infinite loop.
The patch add the max_depth both to os.walk and os.fwalk. |
|
Date |
User |
Action |
Args |
2016-04-16 14:11:11 | palaviv | set | recipients:
+ palaviv, loewis |
2016-04-16 14:11:10 | palaviv | set | messageid: <1460815870.93.0.432472188169.issue26781@psf.upfronthosting.co.za> |
2016-04-16 14:11:10 | palaviv | link | issue26781 messages |
2016-04-16 14:11:10 | palaviv | create | |
|