Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork33.7k
gh-100783: fix os.path.join documentation#100811
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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.
Already on GitHub?Sign in to your account
Uh oh!
There was an error while loading.Please reload this page.
Conversation
- Use "drive", not "drive letter", because of UNC paths- Previous components are not thrown away from relative drive letters- Use "segment" instead of "component" for consistency with pathlibSee issue for more details
Uh oh!
There was an error while loading.Please reload this page.
Uh oh!
There was an error while loading.Please reload this page.
hauntsaninja commentedJan 6, 2023
Thanks for the review, made the changes! |
JelleZijlstra 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.
Looks good, one nit in nearby code.
Uh oh!
There was an error while loading.Please reload this page.
Uh oh!
There was an error while loading.Please reload this page.
Uh oh!
There was an error while loading.Please reload this page.
miss-islington commentedJan 8, 2023
Thanks@hauntsaninja for the PR 🌮🎉.. I'm working now to backport this PR to: 3.10, 3.11. |
bedevere-bot commentedJan 8, 2023
GH-100843 is a backport of this pull request to the3.11 branch. |
bedevere-bot commentedJan 8, 2023
GH-100844 is a backport of this pull request to the3.10 branch. |
- Use "drive", not "drive letter", because of UNC paths- Previous components are not thrown away from relative drive letters- Use "segment" instead of "component" for consistency with pathlib- Other miscellaneous improvements(cherry picked from commit53455a3)Co-authored-by: Shantanu <12621235+hauntsaninja@users.noreply.github.com>
- Use "drive", not "drive letter", because of UNC paths- Previous components are not thrown away from relative drive letters- Use "segment" instead of "component" for consistency with pathlib- Other miscellaneous improvements(cherry picked from commit53455a3)Co-authored-by: Shantanu <12621235+hauntsaninja@users.noreply.github.com>
- Use "drive", not "drive letter", because of UNC paths- Previous components are not thrown away from relative drive letters- Use "segment" instead of "component" for consistency with pathlib- Other miscellaneous improvements(cherry picked from commit53455a3)Co-authored-by: Shantanu <12621235+hauntsaninja@users.noreply.github.com>
- Use "drive", not "drive letter", because of UNC paths- Previous components are not thrown away from relative drive letters- Use "segment" instead of "component" for consistency with pathlib- Other miscellaneous improvements(cherry picked from commit53455a3)Co-authored-by: Shantanu <12621235+hauntsaninja@users.noreply.github.com>
This is a follow-up topython#100811.One of the changes in that PR isn't accurate in that`os.path.join('', '')` will not end in a separator.This reverts that change to the previous wording that used "only", butexplicitly calls out the case where the last part ends in a separator,which is what caused confusin inpython#77607 and motivated the changeinpython#100811.
This is a follow-up to#100811.One of the changes in that PR isn't accurate in that`os.path.join('', '')` will not end in a separator.This reverts that change to the previous wording that used "only", butexplicitly calls out the case where the last part ends in a separator,which is what caused confusin in#77607 and motivated the changein#100811.
This is a follow-up topythonGH-100811.One of the changes in that PR isn't accurate in that`os.path.join('', '')` will not end in a separator.This reverts that change to the previous wording that used "only", butexplicitly calls out the case where the last part ends in a separator,which is what caused confusin inpythonGH-77607 and motivated the changeinpythonGH-100811.(cherry picked from commit909a674)Co-authored-by: Shantanu <12621235+hauntsaninja@users.noreply.github.com>
This is a follow-up topythonGH-100811.One of the changes in that PR isn't accurate in that`os.path.join('', '')` will not end in a separator.This reverts that change to the previous wording that used "only", butexplicitly calls out the case where the last part ends in a separator,which is what caused confusin inpythonGH-77607 and motivated the changeinpythonGH-100811.(cherry picked from commit909a674)Co-authored-by: Shantanu <12621235+hauntsaninja@users.noreply.github.com>
This is a follow-up toGH-100811.One of the changes in that PR isn't accurate in that`os.path.join('', '')` will not end in a separator.This reverts that change to the previous wording that used "only", butexplicitly calls out the case where the last part ends in a separator,which is what caused confusin inGH-77607 and motivated the changeinGH-100811.(cherry picked from commit909a674)Co-authored-by: Shantanu <12621235+hauntsaninja@users.noreply.github.com>
This is a follow-up toGH-100811.One of the changes in that PR isn't accurate in that`os.path.join('', '')` will not end in a separator.This reverts that change to the previous wording that used "only", butexplicitly calls out the case where the last part ends in a separator,which is what caused confusin inGH-77607 and motivated the changeinGH-100811.(cherry picked from commit909a674)Co-authored-by: Shantanu <12621235+hauntsaninja@users.noreply.github.com>
This is a follow-up topython#100811.One of the changes in that PR isn't accurate in that`os.path.join('', '')` will not end in a separator.This reverts that change to the previous wording that used "only", butexplicitly calls out the case where the last part ends in a separator,which is what caused confusin inpython#77607 and motivated the changeinpython#100811.
Uh oh!
There was an error while loading.Please reload this page.
See issue for more details