[issue15186] Support os.walk(dir_fd=)

2013-03-28 Thread Georg Brandl
Georg Brandl added the comment: Closing (it seems everybody agreed it's not a good idea). -- nosy: +georg.brandl resolution: -> rejected status: pending -> closed ___ Python tracker ___

[issue15186] Support os.walk(dir_fd=)

2012-10-20 Thread Serhiy Storchaka
Changes by Serhiy Storchaka : -- status: open -> pending ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http:/

[issue15186] Support os.walk(dir_fd=)

2012-10-06 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Should this issue be closed? -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscri

[issue15186] Support os.walk(dir_fd=)

2012-06-27 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: > Your move, Serhiy ;-) It seems that you play for both sides in the last days. ;-) I surrender. Really, I'm not interested in this feature, but as of symmetry, and this is a very weak motive. > p.s. Serhiy: yes, you can call os.fwalk() with dir_fd=None.

[issue15186] Support os.walk(dir_fd=)

2012-06-25 Thread Larry Hastings
Larry Hastings added the comment: Whoops, you wrote "for most users" rather than talking about beginners. Sorry if I was responding to a point you weren't making ;-) I guess I assumed you were coming at this at least partially while wearing your "Python lecturer" hat. -- __

[issue15186] Support os.walk(dir_fd=)

2012-06-25 Thread Larry Hastings
Larry Hastings added the comment: p.s. Raymond: fwiw, I think "makes it easy / hard for beginners" is only of secondary importance. Certainly I think it's reasonable to point out in a discussion, and if the beginners are easy to accommodate then okay. But if there was something that was a b

[issue15186] Support os.walk(dir_fd=)

2012-06-25 Thread Larry Hastings
Larry Hastings added the comment: Actually I think Raymond makes a good point. Re: symmetry: tbh that's nonsense. The reason for symmetry among functions in the os module is because they do similar things--but this is because "form follows function". We didn't decide to decorate functions w

[issue15186] Support os.walk(dir_fd=)

2012-06-25 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: > Can you elaborate on why this is needed? 1. Unification with fwalk and other os functions. 2. Performance. Larry, can you use fwalk even for dir_fd is None (if fwalk exists, of cause)? -- nosy: +storchaka ___ P

[issue15186] Support os.walk(dir_fd=)

2012-06-25 Thread Raymond Hettinger
Raymond Hettinger added the comment: Can you elaborate on why this is needed? The os.path.walk() API is already somewhat complex. Additional features can make the tool less usable/learnable for most users. -- nosy: +rhettinger ___ Python tracker

[issue15186] Support os.walk(dir_fd=)

2012-06-25 Thread Arfrever Frehtes Taifersar Arahesis
Changes by Arfrever Frehtes Taifersar Arahesis : -- nosy: +Arfrever ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscri

[issue15186] Support os.walk(dir_fd=)

2012-06-25 Thread Larry Hastings
New submission from Larry Hastings : Adds dir_fd support to os.walk(). Just re-yields from os.fwalk(), removing the last element. Note: Python 3.4. -- assignee: larry files: larry.os.walk.dir_fd.1.diff keywords: patch messages: 164023 nosy: larry priority: normal severity: normal stag