-
-
Notifications
You must be signed in to change notification settings - Fork 1.8k
os.chmod()
on Windows doesn't follow symlinks by default
#11774
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
Comments
Then the Python docs are wrong and should be fixed first: https://docs.python.org/3/library/os.html#os.chmod.
|
It has already been fixed on the main branch: https://docs.python.org/3.13/library/os.html#os.chmod
|
Semi-fixed. It still says |
No, but |
I just read python/cpython#113188 which states the following:
But the stubs say otherwise:
typeshed/stdlib/os/__init__.pyi
Line 750 in 0445d74
We should just use an ellipsis here:
os.chmod
#11775The text was updated successfully, but these errors were encountered: