[issue26781] os.walk max_depth

2017-07-17 Thread André Rossi Korol
André Rossi Korol added the comment: I proposed a new function called lwalk(level walk) that recurses only to a certain level of depth: http://bugs.python.org/issue30942 It is implemented in os.py and calls os.walk, but making sure it recurses only to a selected level of depth. If it is

[issue30942] Implement lwalk(levelwalk) function on os.py

2017-07-16 Thread André Rossi Korol
André Rossi Korol added the comment: UPDATE: I already fixed the cause of the TypeError I mentioned earlier. -- ___ Python tracker <http://bugs.python.org/issue30

[issue30942] Implement lwalk(levelwalk) function on os.py

2017-07-16 Thread André Rossi Korol
Changes by André Rossi Korol : -- hgrepos: -369 ___ Python tracker <http://bugs.python.org/issue30942> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue30942] Implement lwalk(levelwalk) function on os.py

2017-07-16 Thread André Rossi Korol
André Rossi Korol added the comment: I forked cpython and implemented an lwalk function on os.py. The lwalk funtion behaves exactly like walk(), except that it recurses only to a certain level of depth that can be selected by the user. More information on the lwalk function can be found on

[issue30942] Implement lwalk(levelwalk) function on os.py

2017-07-16 Thread André Rossi Korol
New submission from André Rossi Korol: I forked cpython and implemented an lwalk function on os.py. The lwalk funtion behaves exactly like walk(), except that it recurses only to a certain level of depth that can be selected by the user. More information on the lwalk function can be found on