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

2017-07-17 Thread R. David Murray
R. David Murray added the comment: Thanks for being interested in improving Python. Please join the discussion in the existing issue 26781, which proposes a max_depth parameter for walk. -- nosy: +r.david.murray resolution: -> duplicate stage: -> resolved status: open -> closed super

[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 ___ ___

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

2017-07-16 Thread André Rossi Korol
Changes by André Rossi Korol : -- hgrepos: -369 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.p

[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 "os

[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 "