[issue37462] Default starting directory for os.walk()
Serhiy Storchaka
report at bugs.python.org
Mon Jul 1 03:19:57 EDT 2019
Serhiy Storchaka <storchaka+cpython at gmail.com> 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 not use this feature until drop support of Python 3.8.
So I think the value of this feature is tiny. It is not worth the effort for implementing, documenting, reviewing and maintaining it. On other hand, it increases the burden for learning Python.
----------
nosy: +serhiy.storchaka
_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue37462>
_______________________________________
More information about the Python-bugs-list
mailing list