Serhiy Storchaka <[email protected]> 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 <[email protected]>
<https://bugs.python.org/issue37462>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe:
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com