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-117201: Handle leading// forposixpath.commonpath#117202
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
Most changes to Pythonrequire a NEWS entry. Add one using theblurb_it web app or theblurb command-line tool. If this change has little impact on Python users, wait for a maintainer to apply the |
nineteendo commentedMar 24, 2024 • edited
Loading Uh oh!
There was an error while loading.Please reload this page.
edited
Uh oh!
There was an error while loading.Please reload this page.
Hmm, looks like |
Most changes to Pythonrequire a NEWS entry. Add one using theblurb_it web app or theblurb command-line tool. If this change has little impact on Python users, wait for a maintainer to apply the |
barneygale 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.
Very tidy implementation! I'm particularly pleased you removed this head-scratcher:
isabs,=set(p[:1]==sepforpinpaths)
Could you add a news blurb?
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 |
nineteendo commentedMar 26, 2024
Barneygale, I have made the requested changes; please review again. |
Thanks for making the requested changes! @barneygale: please review the changes made to this pull request. |
nineteendo commentedMar 26, 2024
Eh, there seems to be a bug with @bedevere-app:
Not entirely sure where to report that... |
barneygale commentedMar 28, 2024
Don't worry about making |
nineteendo commentedMar 28, 2024
I was simply refactoring the other functions to make them more readable, while waiting for suggestions. |
barneygale commentedMar 28, 2024
Yes please, separate PRs for separate changes makes each one easier to review. Note that we don't accept changes thatonly improve readability. It causes too much churn and too many arguments. But you're welcome to improve readability as part of another change, e.g. a bugfix, enhancement or speed-up, as long as you're not introducing too much risk by tinkering with delicate code. Hope that makes sense? |
Uh oh!
There was an error while loading.Please reload this page.
Tracked further here:
os#117361