Uh oh!
There was an error while loading. Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork 33.9k
GH-118447: Fix handling of unreadable symlinks in os.path.realpath()#118489
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
Uh oh!
There was an error while loading. Please reload this page.
Conversation
barneygale commented May 1, 2024 • edited by bedevere-app bot
Loading Uh oh!
There was an error while loading. Please reload this page.
edited by bedevere-app bot
Uh oh!
There was an error while loading. Please reload this page.
os.path.realpath()os.path.realpath() This comment was marked as resolved.
This comment was marked as resolved.
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
barneygale commented May 6, 2024
|
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.
nineteendo 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.
OK, you're right, it shouldn't raise an error. That's what strict is for.
serhiy-storchaka commented May 9, 2024
I think that it is reasonable to expect that |
nineteendo 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.
Barney, would you like to continue working on this? You have my approval if it means anything.
Co-authored-by: Nice Zombies <nineteendo19d0@gmail.com>
barneygale commented May 18, 2024
Thanks for the reviews and suggestions, both! |
Thanks @barneygale for the PR 🌮🎉.. I'm working now to backport this PR to: 3.12, 3.13. |
…path()` (pythonGH-118489) (cherry picked from commit caf6064) Co-authored-by: Barney Gale <barney.gale@gmail.com> Co-authored-by: Nice Zombies <nineteendo19d0@gmail.com>
Sorry, @barneygale, I could not cleanly backport this to |
GH-119163 is a backport of this pull request to the 3.13 branch. |
…path()` (python#118489) Co-authored-by: Nice Zombies <nineteendo19d0@gmail.com> (cherry picked from commit caf6064)
…th.realpath()` (pythonGH-118489) Co-authored-by: Nice Zombies <nineteendo19d0@gmail.com>. (cherry picked from commit caf6064) Co-authored-by: Barney Gale <barney.gale@gmail.com>
barneygale commented May 18, 2024
If no one objects, I'll skip backporting to 3.12 as this is a fairly minor bug and I can't be bothered to fix the conflicts :) |
bedevere-bot commented May 18, 2024
|
bedevere-bot commented May 18, 2024
|
bedevere-bot commented May 18, 2024
|
bedevere-bot commented May 18, 2024
|
…path()` (python#118489) Co-authored-by: Nice Zombies <nineteendo19d0@gmail.com>
posixpath.realpath('secretlink')raises #118447