[issue43620] os.path.join does not use os.sep as documentation claims

2021-03-26 Thread Jared Sutton
Jared Sutton added the comment: Thank you for understanding my position, Fred. I submitted a draft PR (25025) for this bug. -- ___ Python tracker <https://bugs.python.org/issue43

[issue43620] os.path.join does not use os.sep as documentation claims

2021-03-26 Thread Jared Sutton
Change by Jared Sutton : -- keywords: +patch pull_requests: +23775 stage: needs patch -> patch review pull_request: https://github.com/python/cpython/pull/25025 ___ Python tracker <https://bugs.python.org/issu

[issue43620] os.path.join does not use os.sep as documentation claims

2021-03-25 Thread Jared Sutton
Jared Sutton added the comment: > Perhaps Jared was expecting that modifying os.sep would affect the functions > in os.path? This is precisely what I thought, because the documentation makes it sound like that variable named os.sep is read and used as the path delimiter when constr

[issue43620] os.path.join does not use os.sep as documentation claims

2021-03-25 Thread Jared Sutton
Jared Sutton added the comment: I can understand your suggestion to just utilize the posixpath library on Windows if needed. That's a reasonable work-around. But certainly you can see this is a doc bug, since the doc clearly states that os.sep is utilized to join the elements of the

[issue43620] os.path.join does not use os.sep as documentation claims

2021-03-24 Thread Jared Sutton
New submission from Jared Sutton : The behavior of os.path.join() does not match the documentation, in regards to the use of os.sep. From the docs: """ The return value is the concatenation of path and any members of *paths with exactly one directory separator (os.sep) fol