bpo-43620: Remove reference to os.sep from os.path.join() doc#25025
Conversation
|
Hello, and thanks for your contribution! I'm a bot set up to make sure that the project can legally accept this contribution by verifying everyone involved has signed the PSF contributor agreement (CLA). CLA MissingOur records indicate the following people have not signed the CLA: For legal reasons we need all the people listed to sign the CLA before we can look at your contribution. Please follow the steps outlined in the CPython devguide to rectify this issue. If you have recently signed the CLA, please wait at least one business day You can check yourself to see if the CLA has been received. Thanks again for the contribution, we look forward to reviewing it! |
|
I don't have write access, so I can't apply a label, but I think this PR should have the |
freddrake
left a comment
There was a problem hiding this comment.
Please remove the text about what the separator is on different platforms.
|
|
||
| On Windows, the directory separator is a backslash, while on POSIX platforms | ||
| it is a forward slash. |
There was a problem hiding this comment.
Leave this part out.
What the separator is affects many functions in os.path, not only join(). If it needs to be documented for os.path, it's better to document os.path.sep, and to describe there that it's informative, and not intended to be modified.
Since this isn't a factor in bpo-43620, it should not be a part of this PR.
|
A Python core developer has requested some changes be made to your pull request before we can consider merging it. If you could please address their requests along with any other requests in other reviews from core developers that would be appreciated. Once you have made the requested changes, please leave a comment on this pull request containing the phrase |
|
I have made the requested changes; please review again. |
|
Thanks for making the requested changes! @freddrake: please review the changes made to this pull request. |
freddrake
left a comment
There was a problem hiding this comment.
Thank you for contributing, Jared!
|
@freddrake: Please replace |
|
Thanks @jpsutton for the PR, and @freddrake for merging it 🌮🎉.. I'm working now to backport this PR to: 3.9. |
|
GH-25027 is a backport of this pull request to the 3.9 branch. |
|
Thanks @jpsutton for the PR, and @freddrake for merging it 🌮🎉.. I'm working now to backport this PR to: 3.8. |
|
GH-25030 is a backport of this pull request to the 3.8 branch. |
|
Sorry; didn't originally add the backport-to-3.8 tag; done now. |
Bug Report: https://bugs.python.org/issue43620
Summary: This patch removes a reference to
os.sepfrom theos.path.join()documentation, sinceos.sepis not actually referenced in the implementation, and its presence in the doc can be confusing.https://bugs.python.org/issue43620