-
-
Notifications
You must be signed in to change notification settings - Fork 31k
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
GH-109187: Improve symlink loop handling in pathlib.Path.resolve()
#109192
GH-109187: Improve symlink loop handling in pathlib.Path.resolve()
#109192
Conversation
…ve()` Treat symlink loops like other errors: in strict mode, raise `OSError`, and in non-strict mode, do not raise any exception.
Hey @zooba, please could you review this if you have the time/inclination? It's a sort-of follow-up to #25264, which you reviewed a couple years ago. No worries if not! Thank you. Previously we decided to raise Now we're looking at adding a new |
|
|
…ve()` (pythonGH-109192) Treat symlink loops like other errors: in strict mode, raise `OSError`, and in non-strict mode, do not raise any exception.
…ve()` (pythonGH-109192) Treat symlink loops like other errors: in strict mode, raise `OSError`, and in non-strict mode, do not raise any exception.
Treat symlink loops like other errors: in strict mode, raise
OSError
, and in non-strict mode, do not raise an exception.📚 Documentation preview 📚: https://cpython-previews--109192.org.readthedocs.build/