[issue37462] Default starting directory for os.walk()

2019-07-01 Thread Kyle Stanley
Kyle Stanley added the comment: Oh okay thanks taleinat. I wasn't aware of the existence of the ideas mailing list, I'll have to check that out next time. -- ___ Python tracker _

[issue37462] Default starting directory for os.walk()

2019-07-01 Thread Tal Einat
Tal Einat added the comment: Hi Kyle, First off, thanks for bringing this up, and for taking our feedback so well! > Before attempting to create any more original issues, I'll work on existing > issues and the suggestions of others to develop a better practical > understanding of the standa

[issue37462] Default starting directory for os.walk()

2019-07-01 Thread aeros167
aeros167 added the comment: For any future issues, is it more appropriate to leave the issue status on pending until the proposal is approved? This may not apply if the issue was specifically mentioned or requested by a core developer, but it may be better to use pending for any original iss

[issue37462] Default starting directory for os.walk()

2019-07-01 Thread aeros167
aeros167 added the comment: Oh okay, that's fair enough. I can definitely understand that assigning the current directory as the default does not provide a significant change in improved functionality, and it is not implicit that os.walk() would use the current directory as the default optio

[issue37462] Default starting directory for os.walk()

2019-07-01 Thread Tal Einat
Tal Einat added the comment: I agree with Serhiy: In this case, it seems to me that "explicit is better than implicit" should be the guiding principle. -- nosy: +taleinat ___ Python tracker

[issue37462] Default starting directory for os.walk()

2019-07-01 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: It is not obvious that the majority of os.walk() calls are with the current working directory. And if you need to walk from the current working directory, it is not hard to pass "." explicitly. Even if your program contains a lot of os.walk(".") you could

[issue37462] Default starting directory for os.walk()

2019-06-30 Thread aeros167
aeros167 added the comment: Created a new PR which sets the default value of top to the current working directory. (https://github.com/python/cpython/pull/14497) -- ___ Python tracker __

[issue37462] Default starting directory for os.walk()

2019-06-30 Thread aeros167
Change by aeros167 : -- keywords: +patch pull_requests: +14312 stage: -> patch review pull_request: https://github.com/python/cpython/pull/14497 ___ Python tracker ___ ___

[issue37462] Default starting directory for os.walk()

2019-06-30 Thread aeros167
New submission from aeros167 : As a quality of life enhancement, it would beneficial to set a default starting directory for os.walk() to use when one is not specified. I would suggest for this to be the system's current working directory. The implementation would be rather straightforward,