-
-
Notifications
You must be signed in to change notification settings - Fork 33.8k
bpo-43620: Remove reference to os.sep from os.path.join() doc #25025
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
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.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please remove the text about what the separator is on different platforms.
Doc/library/os.path.rst
Outdated
|
|
||
| On Windows, the directory separator is a backslash, while on POSIX platforms | ||
| it is a forward slash. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
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.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
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